mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #145953 from starcraft66/fix-tree-darwin
tree: fix build on darwin/others
This commit is contained in:
commit
7d210bcb4c
1 changed files with 4 additions and 2 deletions
|
@ -30,13 +30,15 @@ stdenv.mkDerivation rec {
|
|||
|
||||
preConfigure = ''
|
||||
sed -i Makefile -e 's|^OBJS=|OBJS=$(EXTRA_OBJS) |'
|
||||
makeFlagsArray+=("CC=$CC")
|
||||
makeFlagsArray+=(
|
||||
${systemFlags}
|
||||
"CC=$CC"
|
||||
)
|
||||
'';
|
||||
|
||||
makeFlags = [
|
||||
"prefix=${placeholder "out"}"
|
||||
"MANDIR=${placeholder "out"}/share/man/man1"
|
||||
systemFlags
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue