···2121 # There is a DR to fix this issue with Clang which is not merged
2222 # yet.
2323 # https://reviews.llvm.org/D137043
2424- NIX_CFLAGS_COMPILE = lib.optional
2525- (stdenv.targetPlatform.isMusl && stdenv.cc.isClang)
2626- "-D__STDC_ISO_10646__=201103L";
2424+ env.NIX_CFLAGS_COMPILE =
2525+ lib.optionalString (stdenv.targetPlatform.isMusl && stdenv.cc.isClang)
2626+ "-D__STDC_ISO_10646__=201103L";
27272828 patches = [ ./01-cygwin.patch ];
2929
+1-1
pkgs/tools/archivers/sharutils/default.nix
···5959 '';
60606161 # Workaround to fix the static build on macOS.
6262- NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration";
6262+ env.NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration";
63636464 doCheck = true;
6565