summary refs log tree commit diff
path: root/pkgs/development/compilers/rust
diff options
context:
space:
mode:
authorarcnmx <arcnmx@users.noreply.github.com>2019-07-27 23:35:59 -0700
committerJörg Thalheim <joerg@thalheim.io>2019-07-29 06:50:20 +0100
commitb53e237ef679ee8f4dd366750ef01f5ac83de80a (patch)
tree994dabd3c3322780c948deec85cd3fbb29ea39e4 /pkgs/development/compilers/rust
parent507dfa03af8ef9a1a39ada6f8dae3fd78a7951cf (diff)
downloadnixpkgs-b53e237ef679ee8f4dd366750ef01f5ac83de80a.tar
nixpkgs-b53e237ef679ee8f4dd366750ef01f5ac83de80a.tar.gz
nixpkgs-b53e237ef679ee8f4dd366750ef01f5ac83de80a.tar.bz2
nixpkgs-b53e237ef679ee8f4dd366750ef01f5ac83de80a.tar.lz
nixpkgs-b53e237ef679ee8f4dd366750ef01f5ac83de80a.tar.xz
nixpkgs-b53e237ef679ee8f4dd366750ef01f5ac83de80a.tar.zst
nixpkgs-b53e237ef679ee8f4dd366750ef01f5ac83de80a.zip
cargo: remove darwin hack
This seems to have recently resolved itself with updates
and is no longer necessary.
Diffstat (limited to 'pkgs/development/compilers/rust')
-rw-r--r--pkgs/development/compilers/rust/cargo.nix7
1 files changed, 0 insertions, 7 deletions
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