2006-10-31 21:28:35 +01:00
|
|
|
let
|
|
|
|
|
|
|
|
pkgs = import ./pkgs/top-level/all-packages.nix {};
|
|
|
|
|
|
|
|
# !!! copied from stdenv/linux/make-bootstrap-tools.nix.
|
|
|
|
pkgsToRemove =
|
|
|
|
[ "binutils" "gcc" "coreutils" "findutils" "diffutils" "gnused" "gnugrep"
|
|
|
|
"gawk" "gnutar" "gzip" "bzip2" "gnumake" "bash" "patch" "patchelf"
|
|
|
|
];
|
|
|
|
|
|
|
|
pkgsDiet = import ./pkgs/top-level/all-packages.nix {
|
|
|
|
bootStdenv = removeAttrs (pkgs.useDietLibC pkgs.stdenv) pkgsToRemove;
|
|
|
|
};
|
|
|
|
|
|
|
|
in rec {
|
|
|
|
|
|
|
|
inherit (pkgs)
|
|
|
|
stdenv kernelscripts kernel bash coreutils coreutilsDiet
|
2006-08-07 21:48:18 +02:00
|
|
|
findutilsWrapper utillinux utillinuxStatic sysvinit e2fsprogsDiet
|
2006-10-09 00:05:06 +02:00
|
|
|
e2fsprogs nettools nix subversion gcc wget which vim less screen
|
2006-08-07 21:48:18 +02:00
|
|
|
openssh binutils nixStatic strace shadowutils iputils gnumake curl gnused
|
2006-10-31 18:39:55 +01:00
|
|
|
gnutar gnutar151 gnugrep gzip mingettyWrapper grubWrapper syslinux parted
|
2006-08-30 02:15:02 +02:00
|
|
|
module_init_tools module_init_toolsStatic dhcpWrapper man nano nanoDiet
|
2006-08-30 02:40:15 +02:00
|
|
|
eject sysklogd mktemp cdrtools cpio busybox mkinitrd ncursesDiet;
|
2004-02-18 11:56:07 +01:00
|
|
|
|
2006-10-31 21:28:35 +01:00
|
|
|
diet = pkgsDiet;
|
|
|
|
|
2006-08-03 20:00:32 +02:00
|
|
|
boot = (import ./boot) {
|
2006-08-05 01:39:59 +02:00
|
|
|
inherit stdenv bash coreutils findutilsWrapper utillinux sysvinit
|
|
|
|
e2fsprogs nettools subversion gcc wget which vim less screen openssh
|
|
|
|
strace shadowutils iputils gnumake curl gnused gnutar gnugrep gzip
|
|
|
|
mingettyWrapper grubWrapper parted module_init_tools dhcpWrapper man
|
2006-10-09 00:05:06 +02:00
|
|
|
nano nix;
|
2006-08-03 20:00:32 +02:00
|
|
|
};
|
2004-02-18 11:56:07 +01:00
|
|
|
|
2006-08-05 01:39:59 +02:00
|
|
|
#init = (import ./init) {inherit stdenv bash bashStatic coreutilsDiet
|
|
|
|
# utillinux shadowutils mingettyWrapper grubWrapper parted module_init_tools
|
|
|
|
# dhcpWrapper man nano eject e2fsprogsDiet;
|
|
|
|
# nix = nixUnstable;
|
|
|
|
#};
|
2005-08-05 15:48:22 +02:00
|
|
|
|
2006-08-28 00:18:39 +02:00
|
|
|
everything = [boot sysvinit sysklogd kernelscripts kernel mkinitrd];
|
2006-10-31 21:28:35 +01:00
|
|
|
|
2004-02-16 10:41:00 +01:00
|
|
|
}
|