Skip to content

Commit

Permalink
nixos-container: don't use host's $NIXOS_CONFIG
Browse files Browse the repository at this point in the history
fixes #22948
  • Loading branch information
globin committed Mar 22, 2017
1 parent c2ab1fa commit 9b9416c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/tools/virtualization/nixos-container/nixos-container.pl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
# Ensure a consistent umask.
umask 0022;

# Ensure $NIXOS_CONFIG is not set.
$ENV{"NIXOS_CONFIG"} = "";

# Parse the command line.

sub showHelp {
Expand Down

0 comments on commit 9b9416c

Please sign in to comment.