about summary refs log tree commit diff
path: root/third_party/nix/default.nix
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-08-30T16·35-0400
committerglittershark <grfn@gws.fyi>2020-08-30T16·39+0000
commitde84e491cf58e330a3a10cc217bb9154107819f0 (patch)
treedf76f998ec7e4391103be54b85a9ff262d615696 /third_party/nix/default.nix
parent1c64930e9fe7f20c0312057f82e3fb66e568f845 (diff)
fix(tvix): localstatedir should be /nix/var r/1740
The various bits (including the unix socket that we listen on) append
/nix to this - so it isn't expected to be in there.

Change-Id: I0d95f2cc5641f610c1bdb03b036fac61dac9842d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1890
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
Diffstat (limited to 'third_party/nix/default.nix')
-rw-r--r--third_party/nix/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/default.nix b/third_party/nix/default.nix
index 5792c3034029..ab54206492d0 100644
--- a/third_party/nix/default.nix
+++ b/third_party/nix/default.nix
@@ -136,7 +136,7 @@ in lib.fix (self: pkgs.llvmPackages.libcxxStdenv.mkDerivation {
 
     # configuration variables for templated files
     export storedir=/nix/store
-    export localstatedir=/nix/var/nix
+    export localstatedir=/nix/var
     export bindir=$out/bin
 
     mkdir -p $out/lib/systemd/system