diff options
author | Andrew Brooks <andrew.brooks@flightaware.com> | 2021-04-30 17:51:25 -0500 |
---|---|---|
committer | Andrew Brooks <andrew.brooks@flightaware.com> | 2021-05-21 15:18:08 -0500 |
commit | 98b8fc35791d1883cc8e43c755507a712f8c40c4 (patch) | |
tree | 4ad7917b28b16c05d23d594cbd9ef481cc4f5371 /pkgs/development/libraries/tk | |
parent | 5f3066af19a46a64e59bf2b0a62c1b60d49456e0 (diff) |
tk: Simplify package with tcl.mkTclDerivation
Diffstat (limited to 'pkgs/development/libraries/tk')
-rw-r--r-- | pkgs/development/libraries/tk/generic.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/development/libraries/tk/generic.nix b/pkgs/development/libraries/tk/generic.nix index ecb3840b2de3b..b829d846be56e 100644 --- a/pkgs/development/libraries/tk/generic.nix +++ b/pkgs/development/libraries/tk/generic.nix @@ -2,7 +2,7 @@ , enableAqua ? stdenv.isDarwin, darwin , ... }: -stdenv.mkDerivation { +tcl.mkTclDerivation { name = "tk-${tcl.version}"; inherit src patches; @@ -33,14 +33,13 @@ stdenv.mkDerivation { configureFlags = [ "--enable-threads" - "--with-tcl=${tcl}/lib" ] ++ lib.optional stdenv.is64bit "--enable-64bit" ++ lib.optional enableAqua "--enable-aqua"; nativeBuildInputs = [ pkg-config ]; buildInputs = lib.optional enableAqua (with darwin.apple_sdk.frameworks; [ Cocoa ]); - propagatedBuildInputs = [ tcl libXft ]; + propagatedBuildInputs = [ libXft ]; doCheck = false; # fails. can't find itself |