tree: fix build on darwin/others
This commit is contained in:
parent
59bea1f3b3
commit
dc76825742
|
@ -30,13 +30,15 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
sed -i Makefile -e 's|^OBJS=|OBJS=$(EXTRA_OBJS) |'
|
sed -i Makefile -e 's|^OBJS=|OBJS=$(EXTRA_OBJS) |'
|
||||||
makeFlagsArray+=("CC=$CC")
|
makeFlagsArray+=(
|
||||||
|
${systemFlags}
|
||||||
|
"CC=$CC"
|
||||||
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"prefix=${placeholder "out"}"
|
"prefix=${placeholder "out"}"
|
||||||
"MANDIR=${placeholder "out"}/share/man/man1"
|
"MANDIR=${placeholder "out"}/share/man/man1"
|
||||||
systemFlags
|
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue