Merge pull request #255565 from felixalbrigtsen/patch-thc-hydra-darwin
thc-hydra: patch to build on darwin
This commit is contained in:
commit
4c34c942d4
|
@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
|
|||
--replace "-lcurses" "-lncurses"
|
||||
'';
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-Wno-undef-prefix";
|
||||
|
||||
nativeBuildInputs = lib.optionals withGUI [ pkg-config makeWrapper ];
|
||||
|
||||
buildInputs = [
|
||||
|
@ -45,6 +47,5 @@ stdenv.mkDerivation rec {
|
|||
license = licenses.agpl3Plus;
|
||||
maintainers = with maintainers; [ offline ];
|
||||
platforms = platforms.unix;
|
||||
badPlatforms = platforms.darwin; # fails to build since v9.5
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue