primecoin: fix build

Changed files
+2 -1
pkgs
applications
altcoins
+2 -1
pkgs/applications/altcoins/primecoin.nix
···
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