From 2bea8873c3f9a6ba3c5fc2b83cdc25de7b8cd7d8 Mon Sep 17 00:00:00 2001 From: Willi Butz Date: Sat, 12 Aug 2017 00:38:13 +0200 Subject: [PATCH] memorycoin: fix build --- pkgs/applications/altcoins/memorycoin.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/altcoins/memorycoin.nix b/pkgs/applications/altcoins/memorycoin.nix index b653ce82a678..9efab9a8babb 100644 --- a/pkgs/applications/altcoins/memorycoin.nix +++ b/pkgs/applications/altcoins/memorycoin.nix @@ -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