mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
libcxx-3.8: apply Darwin-specific patch only on Darwin
... to better decouple different platforms (in future).
This commit is contained in:
parent
c67e08e1af
commit
8bf002daac
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
cmakeFlagsArray=($cmakeFlagsArray -DLIBCXX_CXX_ABI_INCLUDE_PATHS="$NIX_BUILD_TOP/libcxxabi-${version}.src/include")
|
||||
'';
|
||||
|
||||
patches = [ ./darwin.patch ];
|
||||
patches = lib.optional stdenv.isDarwin ./darwin.patch;
|
||||
|
||||
buildInputs = [ cmake libcxxabi ] ++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user