about summary refs log tree commit diff
path: root/users/grfn/xanthous/server/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/grfn/xanthous/server/default.nix')
-rw-r--r--users/grfn/xanthous/server/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/users/grfn/xanthous/server/default.nix b/users/grfn/xanthous/server/default.nix
index 95c2b15ec95f..fbb5ccd26920 100644
--- a/users/grfn/xanthous/server/default.nix
+++ b/users/grfn/xanthous/server/default.nix
@@ -7,6 +7,14 @@ depot.third_party.naersk.buildPackage {
   name = "xanthous-server";
   version = "0.0.1";
   src = depot.third_party.gitignoreSource ./.;
+
+  # Workaround for a potential Nix bug related to restricted eval.
+  # See https://github.com/nix-community/naersk/issues/169
+  root = depot.nix.sparseTree ./. [
+    ./Cargo.toml
+    ./Cargo.lock
+  ];
+
   passthru = {
     docker = import ./docker.nix args;
   };