From 84878c923ccef2d5c515694c4b8eda485ab7079e Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Fri, 28 Feb 2020 21:03:06 -0600 Subject: incrtcl: export ITCL_LIBRARY for downstream users Signed-off-by: Austin Seipp --- pkgs/development/libraries/incrtcl/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pkgs/development') diff --git a/pkgs/development/libraries/incrtcl/default.nix b/pkgs/development/libraries/incrtcl/default.nix index a8a714067f4b..614a8f048aa5 100644 --- a/pkgs/development/libraries/incrtcl/default.nix +++ b/pkgs/development/libraries/incrtcl/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, tcl }: +{ stdenv, fetchurl, writeText, tcl }: stdenv.mkDerivation rec { pname = "incrtcl"; @@ -27,6 +27,10 @@ stdenv.mkDerivation rec { rmdir $out/lib/itcl${version} ''; + setupHook = writeText "setup-hook.sh" '' + export ITCL_LIBRARY=@out@/lib + ''; + outputs = [ "out" "dev" "man" ]; meta = with stdenv.lib; { -- cgit 1.4.1