mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
xsokoban: fix for colliding getline in score.c
This commit is contained in:
parent
7ac03301a7
commit
d66fa56de2
@ -20,6 +20,7 @@ rec {
|
||||
phaseNames = ["preConfigure" "doConfigure" "preBuild" "doMakeInstall"];
|
||||
|
||||
preConfigure = a.fullDepEntry (''
|
||||
sed -e 's/getline/my_getline/' -i score.c
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${a.libXpm}/include/X11"
|
||||
for i in $NIX_CFLAGS_COMPILE; do echo $i; ls ''${i#-I}; done
|
||||
chmod a+rw config.h
|
||||
|
Loading…
Reference in New Issue
Block a user