Skip to content

Commit c0f97ac

Browse files
committed
ma: fix build on non-gcc stdenvs
Notably fixes Darwin support, which this package originally advertised when it didn't actually build.
1 parent 50375a5 commit c0f97ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkgs/by-name/ma/ma/package.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ stdenv.mkDerivation {
1414
hash = "sha256-1UVxXbN2jSNm13BjyoN3jbKtkO3DUEEHaDOC2Ibbxf4=";
1515
};
1616

17+
postPatch = ''
18+
substituteInPlace ./build --replace-fail gcc ${lib.getExe stdenv.cc}
19+
'';
20+
1721
buildInputs = [
1822
tclPackages.tk
1923
];

0 commit comments

Comments
 (0)