mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
tclx: simplify postInstall phase
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
f9595e4ffc
commit
49db5c9de6
@ -11,10 +11,9 @@ tcl.mkTclDerivation rec {
|
||||
};
|
||||
|
||||
# required in order for tclx to properly detect tclx.tcl at runtime
|
||||
postInstall =
|
||||
let tclXPkg = "tclx${version}";
|
||||
tclXLib = "$prefix/lib/${tclXPkg}";
|
||||
in "ln -s ${tclXLib} ${tclXLib}/${tclXPkg}";
|
||||
postInstall = ''
|
||||
ln -s $prefix/lib/${tclXPkg} $prefix/lib/tclx${version}/tclx${version}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://tclx.sourceforge.net/";
|
||||
|
Loading…
Reference in New Issue
Block a user