Fix linking for SGT puzzles

svn path=/nixpkgs/trunk/; revision=20100
This commit is contained in:
Michael Raskin 2010-02-18 13:40:10 +00:00
parent 2fb201871b
commit 50a513f515

View File

@ -25,8 +25,12 @@ rec {
perl mkfiles.pl
'' ["minInit" "doUnpack" "addInputs"];
setVars = a.noDepEntry ''
export NIX_LDFLAGS="$NIX_LDFLAGS -lX11"
'';
/* doConfigure should be removed if not needed */
phaseNames = ["addInputs" "mkMakefiles" "doMakeInstall"];
phaseNames = ["addInputs" "setVars" "mkMakefiles" "doMakeInstall"];
name = "sgt-puzzles-" + version;
meta = {