mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #312696 from eliandoran/darwin/tkimg
tkimg: fix build on darwin
This commit is contained in:
commit
60cc8055eb
@ -1,4 +1,4 @@
|
||||
{ lib, fetchsvn, tcl, tcllib, tk, xorg }:
|
||||
{ stdenv, lib, fetchsvn, tcl, tcllib, tk, xorg, darwin }:
|
||||
|
||||
tcl.mkTclDerivation rec {
|
||||
pname = "tkimg";
|
||||
@ -16,7 +16,9 @@ tcl.mkTclDerivation rec {
|
||||
"--with-tkinclude=${tk.dev}/include"
|
||||
];
|
||||
|
||||
buildInputs = [ xorg.libX11 tcllib ];
|
||||
buildInputs = [ xorg.libX11 tcllib ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||
Cocoa
|
||||
]);
|
||||
|
||||
meta = {
|
||||
homepage = "https://sourceforge.net/projects/tkimg/";
|
||||
|
Loading…
Reference in New Issue
Block a user