about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/grfn/xanthous/server/default.nix11
-rw-r--r--users/tazjin/tgsa/default.nix13
2 files changed, 15 insertions, 9 deletions
diff --git a/users/grfn/xanthous/server/default.nix b/users/grfn/xanthous/server/default.nix
index fbb5ccd269..572230a56c 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;
diff --git a/users/tazjin/tgsa/default.nix b/users/tazjin/tgsa/default.nix
index e413c99116..063781047a 100644
--- a/users/tazjin/tgsa/default.nix
+++ b/users/tazjin/tgsa/default.nix
@@ -1,11 +1,14 @@
 { depot, pkgs, ... }:
 
 depot.third_party.naersk.buildPackage {
-  src = depot.nix.sparseTree ./. [
-    ./Cargo.lock
-    ./Cargo.toml
-    ./src
-  ];
+  src = depot.nix.sparseTree {
+    root = ./.;
+    paths = [
+      ./Cargo.lock
+      ./Cargo.toml
+      ./src
+    ];
+  };
 
   buildInputs = with pkgs; [
     pkg-config