about summary refs log tree commit diff
path: root/users/grfn/xanthous
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-05-26T12·44+0200
committertazjin <tazjin@tvl.su>2022-05-26T16·37+0000
commit5d9d03057c51ae4364a3f776d92e4b4206fbc7c7 (patch)
tree1061ba633bf5fa5ab2144b08f12e9408c396a024 /users/grfn/xanthous
parent7a0a4224a5ea356373e427c92ba4f4d38c6a468c (diff)
refactor(grfn): Prepare for restricted-eval r/4140
Change-Id: I672ad0898b2ef6a11f8bc9233da0ded4a296fe0e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5686
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'users/grfn/xanthous')
-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;
   };