mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
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:
parent
50375a51b5
commit
c0f97aca24
1 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,10 @@ stdenv.mkDerivation {
|
||||||
hash = "sha256-1UVxXbN2jSNm13BjyoN3jbKtkO3DUEEHaDOC2Ibbxf4=";
|
hash = "sha256-1UVxXbN2jSNm13BjyoN3jbKtkO3DUEEHaDOC2Ibbxf4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace ./build --replace-fail gcc ${lib.getExe stdenv.cc}
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
tclPackages.tk
|
tclPackages.tk
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue