std
std copied to clipboard
attribute 'lib' missing
https://std.divnix.com/templates/rust.html
nix flake init -t github:divnix/std#rust
nix develop --show-trace
https://github.com/divnix/std/blob/f8f6f70cdc9234d36d3d445d99a60b9267644df8/src/std/templates/rust/nix/hello/packages.nix#L7
… while calling 'makeSearchPath'
at /nix/store/887hpp8a2i99n9jjwcvz6qkhhhqsvzkg-source/lib/strings.nix:468:5:
467| subDir:
468| paths:
| ^
469| concatStringsSep ":" (map (path: path + "/" + subDir) (filter (x: x != null) paths));
error: attribute 'lib' missing
at /nix/store/c5j2bf3d11r9a1764jwq7sxiaya4i79j-nix/hello/packages.nix:7:11:
6|
7| crane = inputs.crane.lib.overrideToolchain cells.repo.rust.toolchain;
| ^
8| in {
https://github.com/ipetkov/crane/pull/652
@srghma Thanks for the report.
I'm not in-context, atm, regarding that part of the code base.
Would you mind submitting a PR with a fix?
https://github.com/ipetkov/crane/commit/6f7504ad93304e8ddf29c0b82442f61c03900ccb#diff-206b9ce276ab5971a2489d75eb1b12999d4bf3843b7988cbe8d687cfde61dea0L127
Oic, it was depreciated