Merge #98415: wordnet: Fix darwin build

gstqt5
Vladimír Čunát 2020-10-18 10:07:04 +02:00
commit 81b1356944
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
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

@ -24171,7 +24171,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 { };