nixos-container: don't use host's $NIXOS_CONFIG

fixes #22948
This commit is contained in:
Robin Gloster 2017-03-22 14:59:25 +01:00
parent c2ab1fa350
commit 9b9416cca4
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882

View File

@ -14,6 +14,9 @@ my $su = "@su@";
# Ensure a consistent umask. # Ensure a consistent umask.
umask 0022; umask 0022;
# Ensure $NIXOS_CONFIG is not set.
$ENV{"NIXOS_CONFIG"} = "";
# Parse the command line. # Parse the command line.
sub showHelp { sub showHelp {