986f361946
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>
12 lines
341 B
Nix
12 lines
341 B
Nix
# Use the static tools for armv5tel-linux.
|
|
(import ../armv5tel) //
|
|
|
|
{
|
|
bootstrapTools = {
|
|
# Built from make-bootstrap-tools-crosspi.nix
|
|
# nixpkgs rev eb0422e4c1263a65a9b2b954fe10a1e03d67db3e
|
|
url = http://viric.name/tmp/nix/pi/bootstrap-tools.cpio.bz2;
|
|
sha256 = "1zb27x5h54k51yrvn3sy4wb1qprx8iv2kfbgklxwc0mcxp9b7ccd";
|
|
};
|
|
}
|