Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
ytree: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
wkral committed Sep 12, 2020
1 parent e0759a4 commit 0a10ec4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pkgs/tools/misc/ytree/default.nix
Expand Up @@ -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 = ''
Expand Down

0 comments on commit 0a10ec4

Please sign in to comment.