Skip to content

Commit

Permalink
Drop unnecessary __impureHostDeps
Browse files Browse the repository at this point in the history
<nix/fetchurl.nix> is a builtin derivation so it shouldn't need any
host dependencies.
  • Loading branch information
edolstra committed Oct 21, 2015
1 parent c678cfb commit 764a523
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkgs/stdenv/pure-darwin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"; };
Expand Down

0 comments on commit 764a523

Please sign in to comment.