2006-10-19 20:03:13 +02:00
|
|
|
let
|
|
|
|
|
|
|
|
pkgs = import ../../top-level/all-packages.nix {};
|
|
|
|
|
|
|
|
pkgsDiet = import ../../top-level/all-packages.nix {
|
|
|
|
# Have to do removeAttrs to prevent all-packages from copying
|
|
|
|
# stdenv-linux's dependencies, rather than building new ones with
|
|
|
|
# dietlibc.
|
|
|
|
bootStdenv = removeAttrs (pkgs.useDietLibC pkgs.stdenv)
|
2006-10-20 00:47:51 +02:00
|
|
|
["coreutils" "gnused" "gnutar" "gnugrep" "bzip2" "bash" "patch" "patchelf"];
|
2006-10-19 20:03:13 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
generator = pkgs.stdenv.mkDerivation {
|
|
|
|
name = "bootstrap-tools-generator";
|
|
|
|
builder = ./make-bootstrap-tools.sh;
|
2006-10-20 00:47:51 +02:00
|
|
|
inherit (pkgsDiet) coreutils gnused gnugrep gnutar bzip2 bash patch;
|
2006-10-19 23:36:51 +02:00
|
|
|
curl = pkgsDiet.realCurl;
|
2006-10-19 20:03:13 +02:00
|
|
|
|
|
|
|
# The result should not contain any references (store paths) so
|
|
|
|
# that we can safely copy them out of the store and to other
|
|
|
|
# locations in the store.
|
|
|
|
allowedReferences = [];
|
|
|
|
};
|
|
|
|
|
|
|
|
in generator
|