summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Brooks <andrew.brooks@flightaware.com>2021-04-30 17:50:15 -0500
committerAndrew Brooks <andrew.brooks@flightaware.com>2021-05-21 15:18:07 -0500
commit17a71176b06238bcecaf4a625570764ea6c71f30 (patch)
tree62034cbae9ae9defa06d0cece565fc8aa75025d0
parent3dc650b7800a0aa2290535b1ea97eaccf143f858 (diff)
downloadnixpkgs-17a71176b06238bcecaf4a625570764ea6c71f30.tar
nixpkgs-17a71176b06238bcecaf4a625570764ea6c71f30.tar.gz
nixpkgs-17a71176b06238bcecaf4a625570764ea6c71f30.tar.bz2
nixpkgs-17a71176b06238bcecaf4a625570764ea6c71f30.tar.lz
nixpkgs-17a71176b06238bcecaf4a625570764ea6c71f30.tar.xz
nixpkgs-17a71176b06238bcecaf4a625570764ea6c71f30.tar.zst
nixpkgs-17a71176b06238bcecaf4a625570764ea6c71f30.zip
tix: Simplify package with tcl.mkTclDerivation
-rw-r--r--pkgs/development/libraries/tix/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/development/libraries/tix/default.nix b/pkgs/development/libraries/tix/default.nix
index e0f91330efc..86f56cc9dc3 100644
--- a/pkgs/development/libraries/tix/default.nix
+++ b/pkgs/development/libraries/tix/default.nix
@@ -1,6 +1,6 @@
 { lib, stdenv, fetchurl, tcl, tk, fetchpatch } :
 
-stdenv.mkDerivation {
+tcl.mkTclDerivation {
   version = "8.4.3";
   pname = "tix";
   src = fetchurl {
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
     sha256 = "1jaz0l22xj7x1k4rb9ia6i1psnbwk4pblgq4gfvya7gg7fbb7r36";
     })
   ;
-  buildInputs = [ tcl tk ];
+  buildInputs = [ tk ];
   # the configure script expects to find the location of the sources of
   # tcl and tk in {tcl,tk}Config.sh
   # In fact, it only needs some private headers. We copy them in
@@ -35,7 +35,6 @@ stdenv.mkDerivation {
     done;
     '';
   configureFlags = [
-    "--with-tclinclude=${tcl}/include"
     "--with-tclconfig=."
     "--with-tkinclude=${tk.dev}/include"
     "--with-tkconfig=."
@@ -52,4 +51,3 @@ stdenv.mkDerivation {
     ];
   };
 }
-