Fixed it, because otherwise it keeps looping

svn path=/nixpkgs/trunk/; revision=16724
This commit is contained in:
Sander van der Burg 2009-08-15 14:17:16 +00:00
parent 9b32ae7ce3
commit f114f1a64e

View file

@ -56,10 +56,8 @@ stdenv.mkDerivation {
${if buildDemos == true then "" else "-nomake demos"}
${if buildExamples == true then "" else "-nomake examples"}
'';
# For some reason I cannot automatically choose the edition, except by passing
# 'o' the the stdin of configure
configureScript = "yes o | ./configure";
configurePhase = "echo o | ./configure $configureFlags";
patchPhase = ''
substituteInPlace configure --replace /bin/pwd pwd