diff --git a/make-disk.sh b/make-disk.sh index f263f6d51c6..844ffe58c3c 100755 --- a/make-disk.sh +++ b/make-disk.sh @@ -39,6 +39,7 @@ nix=$($NIX/nix-store -r $(echo '(import ./pkgs.nix).nixUnstable' | $NIX/nix-inst busybox=$($NIX/nix-store -r $(echo '(import ./pkgs.nix).busybox' | $NIX/nix-instantiate -)) nano=$($NIX/nix-store -r $(echo '(import ./pkgs.nix).nano' | $NIX/nix-instantiate -)) nanoDiet=$($NIX/nix-store -r $(echo '(import ./pkgs.nix).nanoDiet' | $NIX/nix-instantiate -)) +ncurses=$($NIX/nix-store -r $(echo '(import ./pkgs.nix).ncursesDiet' | $NIX/nix-instantiate -)) nixDeps=$($NIX/nix-store -qR $nix) @@ -309,6 +310,7 @@ $coreutils/bin/chmod -R u+w ${initdir} $coreutils/bin/cp -fau --parents ${modutils}/sbin ${initdir} $coreutils/bin/cp -fau --parents ${busybox} ${initdir} $coreutils/bin/cp -fau --parents ${nanoDiet} ${initdir} +$coreutils/bin/cp -fau --parents ${ncurses} ${initdir} $coreutils/bin/touch ${archivesDir}/NIXOS diff --git a/pkgs.nix b/pkgs.nix index f202283eecc..b774ce33fb7 100644 --- a/pkgs.nix +++ b/pkgs.nix @@ -6,7 +6,7 @@ rec { openssh binutils nixStatic strace shadowutils iputils gnumake curl gnused gnutar gnugrep gzip mingettyWrapper grubWrapper syslinux parted module_init_tools module_init_toolsStatic dhcpWrapper man nano nanoDiet - eject sysklogd mktemp cdrtools cpio busybox mkinitrd; + eject sysklogd mktemp cdrtools cpio busybox mkinitrd ncursesDiet; boot = (import ./boot) { inherit stdenv bash coreutils findutilsWrapper utillinux sysvinit