ma: fix build on non-gcc stdenvs

Notably fixes Darwin support, which this package originally advertised
when it didn't actually build.
This commit is contained in:
Winter 2025-05-11 17:15:31 -04:00
parent 50375a51b5
commit c0f97aca24

View file

@ -14,6 +14,10 @@ stdenv.mkDerivation {
hash = "sha256-1UVxXbN2jSNm13BjyoN3jbKtkO3DUEEHaDOC2Ibbxf4=";
};
postPatch = ''
substituteInPlace ./build --replace-fail gcc ${lib.getExe stdenv.cc}
'';
buildInputs = [
tclPackages.tk
];