Loading pkgs/development/tools/build-managers/bazel/bazel_5/default.nix +1 −3 Original line number Diff line number Diff line Loading @@ -28,7 +28,6 @@ writeScript, # Apple dependencies cctools, libcxx, sigtool, # Allow to independently override the jdks used to build and run respectively buildJdk, Loading Loading @@ -451,7 +450,7 @@ stdenv.mkDerivation rec { # libcxx includes aren't added by libcxx hook # https://github.com/NixOS/nixpkgs/pull/41589 export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -isystem ${lib.getDev libcxx}/include/c++/v1" export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -isystem ${lib.getInclude stdenv.cc.libcxx}/include/c++/v1" # for CLang 16 compatibility in external/{absl,upb} dependencies and in execlog export NIX_CFLAGS_COMPILE+=" -Wno-deprecated-builtins -Wno-gnu-offsetof-extensions -Wno-implicit-function-declaration" Loading Loading @@ -622,7 +621,6 @@ stdenv.mkDerivation rec { ] ++ lib.optionals (stdenv.hostPlatform.isDarwin) [ cctools libcxx ]; # Bazel makes extensive use of symlinks in the WORKSPACE. Loading pkgs/development/tools/build-managers/bazel/bazel_6/default.nix +1 −3 Original line number Diff line number Diff line Loading @@ -31,7 +31,6 @@ writeScript, # Apple dependencies cctools, libcxx, sigtool, # Allow to independently override the jdks used to build and run respectively buildJdk, Loading Loading @@ -521,7 +520,7 @@ stdenv.mkDerivation rec { # libcxx includes aren't added by libcxx hook # https://github.com/NixOS/nixpkgs/pull/41589 export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -isystem ${lib.getDev libcxx}/include/c++/v1" export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -isystem ${lib.getInclude stdenv.cc.libcxx}/include/c++/v1" # for CLang 16 compatibility in external/{absl,upb} dependencies export NIX_CFLAGS_COMPILE+=" -Wno-deprecated-builtins -Wno-gnu-offsetof-extensions" Loading Loading @@ -690,7 +689,6 @@ stdenv.mkDerivation rec { ] ++ lib.optionals (stdenv.hostPlatform.isDarwin) [ cctools libcxx sigtool ]; Loading pkgs/development/tools/build-managers/bazel/bazel_7/default.nix +1 −3 Original line number Diff line number Diff line Loading @@ -34,7 +34,6 @@ python3, # Apple dependencies cctools, libcxx, libtool, sigtool, # Allow to independently override the jdks used to build and run respectively Loading Loading @@ -406,7 +405,7 @@ stdenv.mkDerivation rec { # libcxx includes aren't added by libcxx hook # https://github.com/NixOS/nixpkgs/pull/41589 export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -isystem ${lib.getDev libcxx}/include/c++/v1" export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -isystem ${lib.getInclude stdenv.cc.libcxx}/include/c++/v1" # for CLang 16 compatibility in external/upb dependency export NIX_CFLAGS_COMPILE+=" -Wno-gnu-offsetof-extensions" Loading Loading @@ -554,7 +553,6 @@ stdenv.mkDerivation rec { ] ++ lib.optionals (stdenv.hostPlatform.isDarwin) [ cctools libcxx ]; # Bazel makes extensive use of symlinks in the WORKSPACE. Loading Loading
pkgs/development/tools/build-managers/bazel/bazel_5/default.nix +1 −3 Original line number Diff line number Diff line Loading @@ -28,7 +28,6 @@ writeScript, # Apple dependencies cctools, libcxx, sigtool, # Allow to independently override the jdks used to build and run respectively buildJdk, Loading Loading @@ -451,7 +450,7 @@ stdenv.mkDerivation rec { # libcxx includes aren't added by libcxx hook # https://github.com/NixOS/nixpkgs/pull/41589 export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -isystem ${lib.getDev libcxx}/include/c++/v1" export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -isystem ${lib.getInclude stdenv.cc.libcxx}/include/c++/v1" # for CLang 16 compatibility in external/{absl,upb} dependencies and in execlog export NIX_CFLAGS_COMPILE+=" -Wno-deprecated-builtins -Wno-gnu-offsetof-extensions -Wno-implicit-function-declaration" Loading Loading @@ -622,7 +621,6 @@ stdenv.mkDerivation rec { ] ++ lib.optionals (stdenv.hostPlatform.isDarwin) [ cctools libcxx ]; # Bazel makes extensive use of symlinks in the WORKSPACE. Loading
pkgs/development/tools/build-managers/bazel/bazel_6/default.nix +1 −3 Original line number Diff line number Diff line Loading @@ -31,7 +31,6 @@ writeScript, # Apple dependencies cctools, libcxx, sigtool, # Allow to independently override the jdks used to build and run respectively buildJdk, Loading Loading @@ -521,7 +520,7 @@ stdenv.mkDerivation rec { # libcxx includes aren't added by libcxx hook # https://github.com/NixOS/nixpkgs/pull/41589 export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -isystem ${lib.getDev libcxx}/include/c++/v1" export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -isystem ${lib.getInclude stdenv.cc.libcxx}/include/c++/v1" # for CLang 16 compatibility in external/{absl,upb} dependencies export NIX_CFLAGS_COMPILE+=" -Wno-deprecated-builtins -Wno-gnu-offsetof-extensions" Loading Loading @@ -690,7 +689,6 @@ stdenv.mkDerivation rec { ] ++ lib.optionals (stdenv.hostPlatform.isDarwin) [ cctools libcxx sigtool ]; Loading
pkgs/development/tools/build-managers/bazel/bazel_7/default.nix +1 −3 Original line number Diff line number Diff line Loading @@ -34,7 +34,6 @@ python3, # Apple dependencies cctools, libcxx, libtool, sigtool, # Allow to independently override the jdks used to build and run respectively Loading Loading @@ -406,7 +405,7 @@ stdenv.mkDerivation rec { # libcxx includes aren't added by libcxx hook # https://github.com/NixOS/nixpkgs/pull/41589 export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -isystem ${lib.getDev libcxx}/include/c++/v1" export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -isystem ${lib.getInclude stdenv.cc.libcxx}/include/c++/v1" # for CLang 16 compatibility in external/upb dependency export NIX_CFLAGS_COMPILE+=" -Wno-gnu-offsetof-extensions" Loading Loading @@ -554,7 +553,6 @@ stdenv.mkDerivation rec { ] ++ lib.optionals (stdenv.hostPlatform.isDarwin) [ cctools libcxx ]; # Bazel makes extensive use of symlinks in the WORKSPACE. Loading