Commit Graph

2 Commits

Author SHA1 Message Date
Alyssa Ross
104abaeb52 tcl.mkTclDerivation: fix cross 2021-09-10 13:38:42 +00:00
Andrew Brooks
c6ca1ba9c7 tcl: Add tclPackageHook and mkTclDerivation
Implement tclPackageHook, a setup hook that adjusts TCLLIBPATH to include the
paths of any installed Tcl packages, propagates that TCLLIBPATH to
anti-dependencies, and wraps any installed binaries to set their TCLLIBPATH.

Additionally, implement a makePythonPackage-style mkDerivation wrapper to use
reasonable defaults for Tcl packages and use tclPackageHook.
2021-05-21 15:18:03 -05:00