build: reduce indirection slightly
This commit is contained in:
parent
b8b4d8698c
commit
57ad7dfb1e
1 changed files with 1 additions and 3 deletions
|
|
@ -45,8 +45,6 @@
|
||||||
src = ./.;
|
src = ./.;
|
||||||
};
|
};
|
||||||
|
|
||||||
LD_LIBRARY_PATH = lib.makeLibraryPath dlDeps;
|
|
||||||
|
|
||||||
# Build *just* the cargo dependencies,
|
# Build *just* the cargo dependencies,
|
||||||
# to reuse them for build and test derivations.
|
# to reuse them for build and test derivations.
|
||||||
cargoArtifacts = craneLib.buildDepsOnly commonArgs;
|
cargoArtifacts = craneLib.buildDepsOnly commonArgs;
|
||||||
|
|
@ -123,7 +121,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
devShells.default = craneLib.devShell {
|
devShells.default = craneLib.devShell {
|
||||||
inherit LD_LIBRARY_PATH;
|
LD_LIBRARY_PATH = lib.makeLibraryPath dlDeps;
|
||||||
|
|
||||||
inputsFrom = [ crate ];
|
inputsFrom = [ crate ];
|
||||||
packages = [ pkgs.rust-analyzer ];
|
packages = [ pkgs.rust-analyzer ];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue