about summary refs log tree commit diff
path: root/tvix/eval/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/eval/default.nix')
-rw-r--r--tvix/eval/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/tvix/eval/default.nix b/tvix/eval/default.nix
index ea049eb492eb..a3b4a01ee01e 100644
--- a/tvix/eval/default.nix
+++ b/tvix/eval/default.nix
@@ -2,7 +2,10 @@
 
 lib.fix (self:
 depot.third_party.naersk.buildPackage {
-  src = ./.;
+  src = depot.third_party.gitignoreSource ./.;
+  # see https://github.com/nix-community/naersk/issues/169
+  root = depot.nix.sparseTree ./. [ ./Cargo.lock ./Cargo.toml ];
+
   doCheck = true;
   cargoBuildOptions = opts: opts ++ [ "--all-targets" ];