summary refs log tree commit diff
path: root/pkgs/stdenv/pure-darwin/default.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-10-21 15:12:58 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-10-21 15:16:45 +0200
commit764a523cf9fe3c3e2c856788139aceb5fc99c021 (patch)
treef406bd44590f28c3537209ac5a79074d1844566d /pkgs/stdenv/pure-darwin/default.nix
parentc678cfb751783fc0fd0d31b8c40643fc012b399b (diff)
downloadnixpkgs-764a523cf9fe3c3e2c856788139aceb5fc99c021.tar
nixpkgs-764a523cf9fe3c3e2c856788139aceb5fc99c021.tar.gz
nixpkgs-764a523cf9fe3c3e2c856788139aceb5fc99c021.tar.bz2
nixpkgs-764a523cf9fe3c3e2c856788139aceb5fc99c021.tar.lz
nixpkgs-764a523cf9fe3c3e2c856788139aceb5fc99c021.tar.xz
nixpkgs-764a523cf9fe3c3e2c856788139aceb5fc99c021.tar.zst
nixpkgs-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/pure-darwin/default.nix')
-rw-r--r--pkgs/stdenv/pure-darwin/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/stdenv/pure-darwin/default.nix b/pkgs/stdenv/pure-darwin/default.nix
index c043da8a8a7..e4bae33ce55 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"; };