about summary refs log tree commit diff
path: root/users/grfn
diff options
context:
space:
mode:
Diffstat (limited to 'users/grfn')
-rw-r--r--users/grfn/xanthous/server/default.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/users/grfn/xanthous/server/default.nix b/users/grfn/xanthous/server/default.nix
index fbb5ccd26920..572230a56c5e 100644
--- a/users/grfn/xanthous/server/default.nix
+++ b/users/grfn/xanthous/server/default.nix
@@ -10,10 +10,13 @@ depot.third_party.naersk.buildPackage {
 
   # 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
-  ];
+  root = depot.nix.sparseTree {
+    root = ./.;
+    paths = [
+      ./Cargo.toml
+      ./Cargo.lock
+    ];
+  };
 
   passthru = {
     docker = import ./docker.nix args;