From b53e237ef679ee8f4dd366750ef01f5ac83de80a Mon Sep 17 00:00:00 2001 From: arcnmx Date: Sat, 27 Jul 2019 23:35:59 -0700 Subject: cargo: remove darwin hack This seems to have recently resolved itself with updates and is no longer necessary. --- pkgs/development/compilers/rust/cargo.nix | 7 ------- 1 file changed, 7 deletions(-) (limited to 'pkgs/development/compilers/rust') diff --git a/pkgs/development/compilers/rust/cargo.nix b/pkgs/development/compilers/rust/cargo.nix index 9f576042787..e000edad49b 100644 --- a/pkgs/development/compilers/rust/cargo.nix +++ b/pkgs/development/compilers/rust/cargo.nix @@ -26,13 +26,6 @@ rustPlatform.buildRustPackage rec { # fixes: the cargo feature `edition` requires a nightly version of Cargo, but this is the `stable` channel RUSTC_BOOTSTRAP = 1; - # FIXME: Use impure version of CoreFoundation because of missing symbols. - # CFURLSetResourcePropertyForKey is defined in the headers but there's no - # corresponding implementation in the sources from opensource.apple.com. - preConfigure = stdenv.lib.optionalString stdenv.isDarwin '' - export NIX_CFLAGS_COMPILE="-F${CoreFoundation}/Library/Frameworks $NIX_CFLAGS_COMPILE" - ''; - postInstall = '' # NOTE: We override the `http.cainfo` option usually specified in # `.cargo/config`. This is an issue when users want to specify -- cgit 1.4.1