3
0
Fork 0
forked from mirrors/nixpkgs

wordnet: Fix darwin build

This commit is contained in:
Andreas Källberg 2020-09-21 19:01:14 +02:00
parent 8a5eb89b0f
commit 0a6df8a066
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

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