diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-10-21 15:12:58 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-10-21 15:16:45 +0200 |
commit | 764a523cf9fe3c3e2c856788139aceb5fc99c021 (patch) | |
tree | f406bd44590f28c3537209ac5a79074d1844566d /pkgs/stdenv | |
parent | c678cfb751783fc0fd0d31b8c40643fc012b399b (diff) | |
download | nixlib-764a523cf9fe3c3e2c856788139aceb5fc99c021.tar nixlib-764a523cf9fe3c3e2c856788139aceb5fc99c021.tar.gz nixlib-764a523cf9fe3c3e2c856788139aceb5fc99c021.tar.bz2 nixlib-764a523cf9fe3c3e2c856788139aceb5fc99c021.tar.lz nixlib-764a523cf9fe3c3e2c856788139aceb5fc99c021.tar.xz nixlib-764a523cf9fe3c3e2c856788139aceb5fc99c021.tar.zst nixlib-764a523cf9fe3c3e2c856788139aceb5fc99c021.zip |
Drop unnecessary __impureHostDeps
<nix/fetchurl.nix> is a builtin derivation so it shouldn't need any host dependencies.
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r-- | pkgs/stdenv/pure-darwin/default.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/stdenv/pure-darwin/default.nix b/pkgs/stdenv/pure-darwin/default.nix index c043da8a8a79..e4bae33ce55e 100644 --- a/pkgs/stdenv/pure-darwin/default.nix +++ b/pkgs/stdenv/pure-darwin/default.nix @@ -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"; }; |