Merge pull request #145953 from starcraft66/fix-tree-darwin

tree: fix build on darwin/others

authored by

Ben Siraphob and committed by
GitHub
7d210bcb 2c331d3e

+4 -2
+4 -2
pkgs/tools/system/tree/default.nix
··· 30 30 31 31 preConfigure = '' 32 32 sed -i Makefile -e 's|^OBJS=|OBJS=$(EXTRA_OBJS) |' 33 - makeFlagsArray+=("CC=$CC") 33 + makeFlagsArray+=( 34 + ${systemFlags} 35 + "CC=$CC" 36 + ) 34 37 ''; 35 38 36 39 makeFlags = [ 37 40 "prefix=${placeholder "out"}" 38 41 "MANDIR=${placeholder "out"}/share/man/man1" 39 - systemFlags 40 42 ]; 41 43 42 44 meta = with lib; {