cargo: remove darwin hack

This seems to have recently resolved itself with updates
and is no longer necessary.
This commit is contained in:
arcnmx 2019-07-27 23:35:59 -07:00 committed by Jörg Thalheim
parent 507dfa03af
commit b53e237ef6
No known key found for this signature in database
GPG key ID: B3F5D81B0C6967C4

View file

@ -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