mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
tk: fix build on darwin
This commit is contained in:
parent
dff980733a
commit
bd61c42d22
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, tcl, x11 }:
|
||||
{ stdenv, fetchurl, tcl, x11, libX11 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "tk-8.5.7";
|
||||
@ -16,11 +16,18 @@ stdenv.mkDerivation {
|
||||
|
||||
preConfigure = "cd unix";
|
||||
|
||||
buildInputs = [tcl x11];
|
||||
buildInputs = [ tcl x11 libX11 ];
|
||||
|
||||
inherit tcl;
|
||||
|
||||
passthru = {
|
||||
libPrefix = "tk8.5";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A widget toolkit that provides a library of basic elements for building a GUI in many different programming languages";
|
||||
homepage = http://www.tcl.tk/;
|
||||
maintainers = with stdenv.lib.maintainers; [ eelco lovek323 ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
@ -5376,7 +5376,9 @@ let
|
||||
|
||||
tinyxml2 = callPackage ../development/libraries/tinyxml/2.6.2.nix { };
|
||||
|
||||
tk = callPackage ../development/libraries/tk { };
|
||||
tk = callPackage ../development/libraries/tk {
|
||||
libX11 = xlibs.libX11;
|
||||
};
|
||||
|
||||
tnt = callPackage ../development/libraries/tnt { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user