From 64f84aaf87b8771cd8050d932c96400df9ccd75b Mon Sep 17 00:00:00 2001 From: notgne2 Date: Mon, 8 Feb 2021 15:28:31 -0700 Subject: Work around NixOS/nixpkgs#73404 by `cd`-ing into `/tmp` during NixOS activation --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'flake.nix') 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 -- cgit v1.2.3