rust-bootstrap: cleanup darwin expressions

This commit is contained in:
Daiderd Jordan
2017-11-01 15:51:40 +01:00
parent c8dd4e7626
commit c72b22c420
2 changed files with 41 additions and 29 deletions
@@ -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";
}