3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #97819 from wkral/fix-ytree-build

ytree: fix build
This commit is contained in:
Robert Scott 2020-09-12 12:34:56 +01:00 committed by GitHub
commit 1435f5be15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,16 +22,6 @@ stdenv.mkDerivation rec {
substituteInPlace Makefile --replace 'gzip' 'gzip -n'
'';
preBuild = ''
makeFlagsArray+=(CC="cc"
ADD_CFLAGS=""
COLOR="-DCOLOR_SUPPORT"
CLOCK="-DCLOCK_SUPPORT"
READLINE="-DREADLINE_SUPPORT"
CFLAGS="-D_GNU_SOURCE -DWITH_UTF8 $(ADD_CFLAGS) $(COLOR) $(CLOCK) $(READLINE)"
LDFLAGS="-lncursesw -lreadline")
'';
installFlags = [ "DESTDIR=${placeholder "out"}" ];
preInstall = ''