Skip to content

Commit

Permalink
Merge pull request #280665 from magneticflux-/libedit
Browse files Browse the repository at this point in the history
{libedit,sharutils}: move env vars to `env.*`
  • Loading branch information
wegank authored Jan 17, 2024
2 parents 35ef7ed + d0f90d9 commit 97cef6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pkgs/development/libraries/libedit/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ stdenv.mkDerivation rec {
# There is a DR to fix this issue with Clang which is not merged
# yet.
# https://reviews.llvm.org/D137043
NIX_CFLAGS_COMPILE = lib.optional
(stdenv.targetPlatform.isMusl && stdenv.cc.isClang)
"-D__STDC_ISO_10646__=201103L";
env.NIX_CFLAGS_COMPILE =
lib.optionalString (stdenv.targetPlatform.isMusl && stdenv.cc.isClang)
"-D__STDC_ISO_10646__=201103L";

patches = [ ./01-cygwin.patch ];

Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/archivers/sharutils/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
'';

# Workaround to fix the static build on macOS.
NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration";
env.NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration";

doCheck = true;

Expand Down

0 comments on commit 97cef6e

Please sign in to comment.