mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 07:32:58 +00:00
tree: fix package
makeFlags seems to be escaped now, so to do CC=$CC we need to append it to makeFlags in the shell script now Otherwise we get CC=\$CC
This commit is contained in:
parent
af3d601919
commit
f745b93d86
@ -30,12 +30,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
preConfigure = ''
|
||||
sed -i Makefile -e 's|^OBJS=|OBJS=$(EXTRA_OBJS) |'
|
||||
makeFlags+=("CC=$CC")
|
||||
'';
|
||||
|
||||
makeFlags = [
|
||||
"prefix=${placeholder "out"}"
|
||||
"MANDIR=${placeholder "out"}/share/man/man1"
|
||||
"CC=$CC"
|
||||
systemFlags
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user