mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
Automated install is once more succesful
svn path=/nixos/trunk/; revision=14229
This commit is contained in:
parent
6c2622abe7
commit
9e29c72bd2
@ -14,7 +14,7 @@ mkdir -p /mnt/etc/nixos
|
||||
|
||||
cat > /mnt/etc/nixos/configuration.nix <<EOF
|
||||
|
||||
pkgs: full_configuration: {
|
||||
{pkgs, config, ...}: {
|
||||
boot = {
|
||||
grubDevice = "/dev/sda";
|
||||
copyKernels = true;
|
||||
|
@ -17,7 +17,7 @@ set -x
|
||||
echo "Installation starting.." > 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 &
|
||||
|
||||
|
@ -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)
|
||||
;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user