From c57e2527985a9c07d39f089aa0d137cc57f25739 Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Sat, 22 Jul 2006 10:52:44 +0000 Subject: [PATCH] pass around right configuration options svn path=/nixpkgs/trunk/; revision=5871 --- pkgs/development/libraries/tk/builder.sh | 1 + pkgs/development/libraries/tk/default.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/pkgs/development/libraries/tk/builder.sh b/pkgs/development/libraries/tk/builder.sh index 2f036ebd66eb..999488a35310 100644 --- a/pkgs/development/libraries/tk/builder.sh +++ b/pkgs/development/libraries/tk/builder.sh @@ -1,5 +1,6 @@ source $stdenv/setup +configureFlags="--with-tcl=$tcl/lib" preConfigure() { cd unix } diff --git a/pkgs/development/libraries/tk/default.nix b/pkgs/development/libraries/tk/default.nix index 27d7cdc46d7b..fc7d11273aa8 100644 --- a/pkgs/development/libraries/tk/default.nix +++ b/pkgs/development/libraries/tk/default.nix @@ -8,4 +8,5 @@ stdenv.mkDerivation { md5 = "0a16d4d9398e43cbb85784c85fb807a4"; }; buildInputs = [tcl x11]; + inherit tcl; }