Skip to content

Commit 81b1356

Browse files
committed
Merge #98415: wordnet: Fix darwin build
2 parents 265fc30 + 0a6df8a commit 81b1356

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

pkgs/applications/misc/wordnet/default.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{stdenv, fetchurl, tcl, tk, xlibsWrapper, makeWrapper}:
1+
{ stdenv, fetchurl, tcl, tk, Cocoa, xlibsWrapper, makeWrapper }:
22

33
stdenv.mkDerivation rec {
44
version = "3.0";
@@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
88
sha256 = "08pgjvd2vvmqk3h641x63nxp7wqimb9r30889mkyfh2agc62sjbc";
99
};
1010

11-
buildInputs = [tcl tk xlibsWrapper makeWrapper];
11+
buildInputs = [ tcl tk xlibsWrapper makeWrapper ]
12+
++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa ];
1213

1314
hardeningDisable = [ "format" ];
1415

pkgs/top-level/all-packages.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24171,7 +24171,9 @@ in
2417124171

2417224172
wofi = callPackage ../applications/misc/wofi { };
2417324173

24174-
wordnet = callPackage ../applications/misc/wordnet { };
24174+
wordnet = callPackage ../applications/misc/wordnet {
24175+
inherit (darwin.apple_sdk.frameworks) Cocoa;
24176+
};
2417524177

2417624178
wordgrinder = callPackage ../applications/office/wordgrinder { };
2417724179

0 commit comments

Comments
 (0)