Merge #98415: wordnet: Fix darwin build

(cherry picked from commit 81b1356944)
This commit is contained in:
Vladimír Čunát
2020-10-18 10:07:04 +02:00
parent 33f067f9f3
commit 3efb70d144
2 changed files with 6 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
{stdenv, fetchurl, tcl, tk, xlibsWrapper, makeWrapper}:
{ stdenv, fetchurl, tcl, tk, Cocoa, xlibsWrapper, makeWrapper }:
stdenv.mkDerivation rec {
version = "3.0";
@@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "08pgjvd2vvmqk3h641x63nxp7wqimb9r30889mkyfh2agc62sjbc";
};
buildInputs = [tcl tk xlibsWrapper makeWrapper];
buildInputs = [ tcl tk xlibsWrapper makeWrapper ]
++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa ];
hardeningDisable = [ "format" ];

View File

@@ -23951,7 +23951,9 @@ in
wofi = callPackage ../applications/misc/wofi { };
wordnet = callPackage ../applications/misc/wordnet { };
wordnet = callPackage ../applications/misc/wordnet {
inherit (darwin.apple_sdk.frameworks) Cocoa;
};
wordgrinder = callPackage ../applications/office/wordgrinder { };