mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
Reduce dependency of generated image on host configuration.
svn path=/nixos/trunk/; revision=12738
This commit is contained in:
parent
1e33c98258
commit
5cc80c8e51
@ -23,7 +23,8 @@ echo "reboot" | ./socat/bin/socat tcp-listen:4424 stdio >> report &
|
||||
|
||||
if ( ! [ -d dvd/iso ] ) || ( [ -z "$USE_LEFTOVER_DVD" ] ); then
|
||||
rm dvd
|
||||
nix-build -o dvd /etc/nixos/nixos/configuration/closed-install.nix ||
|
||||
# unset NIXPKGS_CONFIG to reduce host -> image configuration leak
|
||||
NIXPKGS_CONFIG= nix-build -o dvd /etc/nixos/nixos/configuration/closed-install.nix ||
|
||||
{ echo "Failed to build LiveDVD" >&2 ; exit 2; };
|
||||
fi;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user