about summary refs log tree commit diff
path: root/pkgs/development/compilers/rust/bootstrap.nix
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2017-11-01 15:37:04 +0100
committerDaiderd Jordan <daiderd@gmail.com>2017-11-01 15:51:40 +0100
commitc72b22c420587ff15e6212a7ba022dbd2c75b8ae (patch)
tree7b84a457bbe4c0d9166d1b543f4517ddaa406bd8 /pkgs/development/compilers/rust/bootstrap.nix
parentc8dd4e76269c374453141a6821f56f83da274e5c (diff)
rust-bootstrap: cleanup darwin expressions
Diffstat (limited to 'pkgs/development/compilers/rust/bootstrap.nix')
-rw-r--r--pkgs/development/compilers/rust/bootstrap.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/development/compilers/rust/bootstrap.nix b/pkgs/development/compilers/rust/bootstrap.nix
index fbcac09fc458f..14995005e123c 100644
--- a/pkgs/development/compilers/rust/bootstrap.nix
+++ b/pkgs/development/compilers/rust/bootstrap.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, makeWrapper, cacert, zlib, curl }:
+{ stdenv, fetchurl, callPackage }:
 
 let
   # Note: the version MUST be one version prior to the version we're
@@ -29,9 +29,8 @@ let
      sha256 = hashes."${platform}";
   };
 
-in import ./binaryBuild.nix
-  { inherit stdenv fetchurl makeWrapper cacert zlib curl;
+in callPackage ./binaryBuild.nix
+  { inherit version src platform;
     buildRustPackage = null;
-    inherit version src platform;
     versionType = "bootstrap";
   }