summary refs log tree commit diff
path: root/pkgs/tools/package-management/nix
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2021-12-17 21:39:30 -0500
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2021-12-18 10:09:25 -0500
commite1aaaa90fee8665ef84c87eae558f387196d220e (patch)
tree27689a3ce296096b2bc60d0dfeef54166a95ecb2 /pkgs/tools/package-management/nix
parentf7775a4c2c9cd5b24890194a4644ae06a4d4fd1c (diff)
downloadnixpkgs-e1aaaa90fee8665ef84c87eae558f387196d220e.tar
nixpkgs-e1aaaa90fee8665ef84c87eae558f387196d220e.tar.gz
nixpkgs-e1aaaa90fee8665ef84c87eae558f387196d220e.tar.bz2
nixpkgs-e1aaaa90fee8665ef84c87eae558f387196d220e.tar.lz
nixpkgs-e1aaaa90fee8665ef84c87eae558f387196d220e.tar.xz
nixpkgs-e1aaaa90fee8665ef84c87eae558f387196d220e.tar.zst
nixpkgs-e1aaaa90fee8665ef84c87eae558f387196d220e.zip
llvmPackages.libcxx: unset _LIBCPP_USE_AVAILABILITY_APPLE
Diffstat (limited to 'pkgs/tools/package-management/nix')
-rw-r--r--pkgs/tools/package-management/nix/default.nix3
1 files changed, 0 insertions, 3 deletions
diff --git a/pkgs/tools/package-management/nix/default.nix b/pkgs/tools/package-management/nix/default.nix
index 1a8a4889346..59651c973c3 100644
--- a/pkgs/tools/package-management/nix/default.nix
+++ b/pkgs/tools/package-management/nix/default.nix
@@ -78,9 +78,6 @@ common =
 
       propagatedBuildInputs = [ boehmgc ];
 
-      # src/nix-build/nix-build.cc:463:41: error: 'value' is unavailable: introduced in macOS 10.13
-      NIX_CFLAGS_COMPILE = lib.optional (stdenv.hostPlatform.system == "x86_64-darwin") "-D_LIBCPP_DISABLE_AVAILABILITY";
-
       NIX_LDFLAGS = lib.optionals (!is24) [
         # https://github.com/NixOS/nix/commit/3e85c57a6cbf46d5f0fe8a89b368a43abd26daba
         (lib.optionalString enableStatic "-lssl -lbrotlicommon -lssh2 -lz -lnghttp2 -lcrypto")