diff --git a/installer/cd-dvd/remote-install-scripts/install-script.sh b/installer/cd-dvd/remote-install-scripts/install-script.sh index fbacf6ff6a58..574cdb40a22e 100755 --- a/installer/cd-dvd/remote-install-scripts/install-script.sh +++ b/installer/cd-dvd/remote-install-scripts/install-script.sh @@ -14,7 +14,7 @@ mkdir -p /mnt/etc/nixos cat > /mnt/etc/nixos/configuration.nix < report nix-build -o socat /etc/nixos/nixpkgs -A socat || { echo "Failed to build socat" >&2 ; exit 2; }; -nix-build -o qemu /etc/nixos/nixpkgs -A qemu || { echo "Failed to build qemu" >&2 ; exit 2; }; +nix-build -o qemu /etc/nixos/nixpkgs -A ${QEMU_PACKAGE:-qemu} || { echo "Failed to build qemu" >&2 ; exit 2; }; echo "reboot" | ./socat/bin/socat tcp-listen:4424 stdio >> report & diff --git a/installer/cd-dvd/rescue-cd-configurable.nix b/installer/cd-dvd/rescue-cd-configurable.nix index e727d2d1f2db..f021c19b63bc 100644 --- a/installer/cd-dvd/rescue-cd-configurable.nix +++ b/installer/cd-dvd/rescue-cd-configurable.nix @@ -137,7 +137,7 @@ rec { nixpkgsRel = "nixpkgs" + (if networkNixpkgs != "" then "-" + networkNixpkgs else ""); - configuration = pkgs: final_configuration: let preConfiguration ={ + configuration = {pkgs, config, ...}: let preConfiguration ={ boot = { isLiveCD = true; # The label used to identify the installation CD. @@ -164,8 +164,8 @@ rec { udev = { addFirmware = [] - ++ (pkgs.lib.optional intel3945FWEnable pkgs.iwlwifi3945ucode) - ++ (pkgs.lib.optional intel4965FWEnable pkgs.iwlwifi4965ucode) + #++ (pkgs.lib.optional intel3945FWEnable pkgs.iwlwifi3945ucode) + #++ (pkgs.lib.optional intel4965FWEnable pkgs.iwlwifi4965ucode) ; };