···21 # There is a DR to fix this issue with Clang which is not merged
22 # yet.
23 # https://reviews.llvm.org/D137043
24- NIX_CFLAGS_COMPILE = lib.optional
25- (stdenv.targetPlatform.isMusl && stdenv.cc.isClang)
26- "-D__STDC_ISO_10646__=201103L";
2728 patches = [ ./01-cygwin.patch ];
29
···21 # There is a DR to fix this issue with Clang which is not merged
22 # yet.
23 # https://reviews.llvm.org/D137043
24+ env.NIX_CFLAGS_COMPILE =
25+ lib.optionalString (stdenv.targetPlatform.isMusl && stdenv.cc.isClang)
26+ "-D__STDC_ISO_10646__=201103L";
2728 patches = [ ./01-cygwin.patch ];
29
+1-1
pkgs/tools/archivers/sharutils/default.nix
···59 '';
6061 # Workaround to fix the static build on macOS.
62- NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration";
6364 doCheck = true;
65
···59 '';
6061 # Workaround to fix the static build on macOS.
62+ env.NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration";
6364 doCheck = true;
65