incrtcl: export ITCL_LIBRARY for downstream users
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
8913745573
commit
84878c923c
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user