Commit Graph

4 Commits

Author SHA1 Message Date
Guillaume Girol
dcfdd9d8da mkTclDerivation: support nativeCheckInputs 2023-01-21 16:42:10 +01:00
Timo Kaufmann
2fb7cd664e tcl.mkTclDerivation: fix exec prefix
Shell variables are not expanded, so the old value was just the literal
string `${out}`.

Fixes #139566
2021-09-28 18:41:53 +02:00
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