diff --git a/pkgs/development/compilers/acme/default.nix b/pkgs/development/compilers/acme/default.nix index 2aca7478d7be..c5a997ad75bc 100644 --- a/pkgs/development/compilers/acme/default.nix +++ b/pkgs/development/compilers/acme/default.nix @@ -14,6 +14,11 @@ stdenv.mkDerivation rec { makeFlags = [ "BINDIR=$(out)/bin" ]; + postPatch = '' + substituteInPlace Makefile \ + --replace "= gcc" "?= gcc" + ''; + meta = with stdenv.lib; { description = "A multi-platform cross assembler for 6502/6510/65816 CPUs."; homepage = "https://sourceforge.net/projects/acme-crossass/";