mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-19 07:01:12 +00:00
mysql-shell_8: unpin stdenv
This commit is contained in:
@@ -75,6 +75,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
substituteInPlace cmake/libutils.cmake --replace-fail /usr/bin/libtool libtool
|
||||
'';
|
||||
|
||||
env =
|
||||
lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-literal-operator";
|
||||
}
|
||||
// lib.optionalAttrs stdenv.cc.isGNU {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=array-bounds";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
cmake
|
||||
|
||||
@@ -549,13 +549,6 @@ with pkgs;
|
||||
protobuf = protobuf_25.override {
|
||||
abseil-cpp = abseil-cpp_202407;
|
||||
};
|
||||
stdenv =
|
||||
if stdenv.cc.isClang then
|
||||
llvmPackages_19.stdenv
|
||||
else if stdenv.cc.isGNU then
|
||||
gcc14Stdenv
|
||||
else
|
||||
stdenv;
|
||||
};
|
||||
|
||||
mysql-shell_9 = callPackage ../development/tools/mysql-shell/9.nix {
|
||||
|
||||
Reference in New Issue
Block a user