diff --git a/flake.nix b/flake.nix index 7d22772..2fc6470 100644 --- a/flake.nix +++ b/flake.nix @@ -45,8 +45,6 @@ src = ./.; }; - LD_LIBRARY_PATH = lib.makeLibraryPath dlDeps; - # Build *just* the cargo dependencies, # to reuse them for build and test derivations. cargoArtifacts = craneLib.buildDepsOnly commonArgs; @@ -123,7 +121,7 @@ }; devShells.default = craneLib.devShell { - inherit LD_LIBRARY_PATH; + LD_LIBRARY_PATH = lib.makeLibraryPath dlDeps; inputsFrom = [ crate ]; packages = [ pkgs.rust-analyzer ];