Skip to content

Commit

Permalink
Work around NixOS/nixpkgs#73404 by cd-ing into /tmp during NixOS …
Browse files Browse the repository at this point in the history
…activation
  • Loading branch information
code-rain002 committed Feb 8, 2021
1 parent b47dde0 commit b282d4a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b282d4a

Please sign in to comment.