1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00
nixpkgs/pkgs/stdenv
Shea Levy 986f361946 linux/bootstrap: Use <nix/fetchurl> to get the static binaries
Since nix-1.4, nix's corepkgs contain a fetchurl suitable for
downloading the bootstrap binaries. Doing this will allow us to have a
nixpkgs with no in-tree binaries without breaking the purity of the
bootstrap (though for now, they are fetched in-tree until the binaries
are added to nixos.org somewhere). As an additional small benefit, the
in-tree binaries do not have to be hashed on every instantiation as they
do now.

The fetchurl in nix-1.2 and 1.3 isn't able to make binaries executable,
so it can't be used for this case. In that case, attempting to build the
bootstrap will show a message asking the user to manually download each
file and add it to the store with nix-store --add (but the hash is
ultimately the same, of course).

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-05-05 11:30:34 -04:00
..
generic Merge branch 'master' into stdenv-updates 2013-05-04 18:28:48 -04:00
linux linux/bootstrap: Use <nix/fetchurl> to get the static binaries 2013-05-05 11:30:34 -04:00
mingw stdenv/setup.sh: Always run postPatch hook. 2013-02-27 15:26:18 +01:00
native Add SmartOS native GCC path. 2013-02-28 20:04:04 +01:00
nix GCC 4.7.2 + updated libraries compiles on Illumos/SmartOS! 2013-02-28 20:04:02 +01:00
adapters.nix More renames 2012-12-28 19:42:10 +01:00
common-path.nix * Don't use the "replace-literal" command in stdenv; instead use 2012-01-19 13:47:26 +00:00
default.nix Attempt at getting GCC 4.7 compiled on Illumos... 2013-02-28 20:04:01 +01:00