aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornotgne22021-02-09 03:01:36 -0700
committerGitHub2021-02-09 03:01:36 -0700
commitfecc7e723db40c7e056371467275186b3bbb9ef3 (patch)
tree6e1de8e143b1565d60798549ab235fe7d9993ccc
parent4f956e0979d6e2617a0800062627a345337bff71 (diff)
parentc27b76e00101a1190c46c80fc1618c2732827d96 (diff)
Merge pull request #65 from serokell/notgne2/set-tmp-in-nixos-activation
cd into `/tmp` during NixOS activation
Diffstat (limited to '')
-rw-r--r--flake.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index df480e5..d87702f 100644
--- a/flake.nix
+++ b/flake.nix
@@ -87,6 +87,9 @@
};
nixos = base: custom base.config.system.build.toplevel ''
+ # work around https://github.com/NixOS/nixpkgs/issues/73404
+ cd /tmp
+
$PROFILE/bin/switch-to-configuration switch
# https://github.com/serokell/deploy-rs/issues/31