primecoin: fix build

This commit is contained in:
Willi Butz 2017-08-12 00:38:32 +02:00 committed by Robin Gloster
parent 2bea8873c3
commit 3584f1d6d4

View file

@ -22,7 +22,8 @@ stdenv.mkDerivation rec{
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]
++ optionals withGui [ "--with-gui=qt4" ];
preBuild = optional (!withGui) "cd src; cp makefile.unix Makefile";
preBuild = "unset AR;"
+ (toString (optional (!withGui) "cd src; cp makefile.unix Makefile"));
installPhase =
if withGui