3
0
Fork 0
forked from mirrors/nixpkgs

Drop unnecessary __impureHostDeps

<nix/fetchurl.nix> is a builtin derivation so it shouldn't need any
host dependencies.
This commit is contained in:
Eelco Dolstra 2015-10-21 15:12:58 +02:00
parent c678cfb751
commit 764a523cf9

View file

@ -18,13 +18,11 @@ let
"/usr/lib/system"
];
fetch = { file, sha256 }: derivation ((import <nix/fetchurl.nix> {
fetch = { file, sha256 }: import <nix/fetchurl.nix> {
url = "https://dl.dropboxusercontent.com/u/2857322/${file}";
inherit sha256 system;
executable = true;
}).drvAttrs // {
__impureHostDeps = libSystemClosure;
});
};
bootstrapFiles = {
sh = fetch { file = "sh"; sha256 = "1qakpg37vl61jnkplz13m3g1csqr85cg8ybp6jwiv6apmg26isnm"; };