mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
gawk: fix build on darwin (#401467)
This commit is contained in:
commit
ee8311b13a
1 changed files with 5 additions and 0 deletions
|
@ -72,6 +72,11 @@ stdenv.mkDerivation rec {
|
|||
(if interactive then "--with-readline=${readline.dev}" else "--without-readline")
|
||||
];
|
||||
|
||||
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
|
||||
# TODO: figure out a better way to unbreak _NSGetExecutablePath invocations
|
||||
NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration";
|
||||
};
|
||||
|
||||
makeFlags = [
|
||||
"AR=${stdenv.cc.targetPrefix}ar"
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue