aboutsummaryrefslogtreecommitdiff
path: root/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'package.nix')
-rw-r--r--package.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/package.nix b/package.nix
index a678e3dbd..f37e177dd 100644
--- a/package.nix
+++ b/package.nix
@@ -137,6 +137,8 @@ let
./meson
./scripts/meson.build
./subprojects
+ # Required for meson to generate Cargo wraps
+ ./Cargo.lock
]);
functionalTestFiles = fileset.unions [
@@ -288,7 +290,7 @@ stdenv.mkDerivation (finalAttrs: {
BOOST_LIBRARYDIR = "${lib.getLib boost}/lib";
};
- cargoDeps = rustPlatform.importCargoLock { lockFile = ./src/lix-doc/Cargo.lock; };
+ cargoDeps = rustPlatform.importCargoLock { lockFile = ./Cargo.lock; };
preConfigure =
lib.optionalString (!finalAttrs.dontBuild && !hostPlatform.isStatic) ''