memorycoin: fix build
commit2bea8873c3f9a6ba3c5fc2b83cdc25de7b8cd7d8
authorWilli Butz <wbutz@cyberfnord.de>
dateSat 12 Aug 2017, 00:38 (9 years ago)
parent44f9be7
pkgs/applications/altcoins/memorycoin.nix+2−1
@@ -22,7 +22,8 @@ stdenv.mkDerivation rec{
2222 configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]
2323 ++ optionals withGui [ "--with-gui=qt4" ];
2424
25− preBuild = optional (!withGui) "cd src; cp makefile.unix Makefile";
25+ preBuild = "unset AR;"
26+ + (toString (optional (!withGui) "cd src; cp makefile.unix Makefile"));
2627
2728 installPhase =
2829 if withGui