Commit graph

45 commits

Author SHA1 Message Date
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
Alyssa Ross
320475230c tcl.tclPackageHook: fix cross 2021-09-10 13:38:42 +00:00
davidak
a05b154023
Merge pull request #125307 from wizeman/u/fix-tk-hash
tk-8_6: fix hash after tcl-8_6 update
2021-08-26 05:10:29 +02:00
Sandro Jäckel
4109b119c2
tcl: allow passing in extra wrapper args through tclWrapperArgs 2021-06-17 20:39:44 +02:00
Ricardo M. Correia
d9bf02324a tk-8_6: fix hash after tcl-8_6 update
tcl-8_6 was updated in 4fb92ae60d from
8.6.9 -> 8.6.11 but tk's hash wasn't updated at the same time,
which means the current hash was still from tk 8.6.9 rather than 8.6.11.
2021-06-06 01:40:39 +02:00
Andrew Brooks
b7b9680e66 tcl: update maintainers
When I reached out to vrthra / Rahul Gopinath about this PR, he
indicated that he no longer has the time to serve as tcl maintainer
and suggested that I take on the responsibility.
2021-05-21 15:18:31 -05:00
Andrew Brooks
4b5d85bf44 tcl: use double square brackets consistently in tcl package hook 2021-05-21 15:18:30 -05:00
Andrew Brooks
927251e781 tcl: avoid readonly local in package hook
If a path with a space were added to TCLLIBPATH, _addToTclLibPath
would attempt to mutate the tclPkg local and fail.
2021-05-21 15:18:29 -05:00
Andrew Brooks
ca4b34f09e tcl: combine inherit expressions
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-05-21 15:18:27 -05:00
Andrew Brooks
e22fe366af tcl: fix TCLLIBPATH edge cases in tcl package hook
TCLLIBPATH was not actually extended if a package's path was a substring
of a package already on the path. This commit fixes that behavior.

Additionally, '--prefix' is now used in place of '--set', as the latter
was found to break tkremind from the remind package.
2021-05-21 15:18:26 -05: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
Ben Siraphob
4fb92ae60d tcl-8_6: 8.6.9 -> 8.6.11 2021-02-20 09:03:04 +01:00
Ben Siraphob
001c0cbe54 pkgs/development/interpreters: stdenv.lib -> lib 2021-01-23 20:29:03 +07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jason Felice
41a48b5895 tcl: fix dangling symlink 2019-12-19 09:46:36 -05:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
c0bw3b
3ee1b52371 tcl/tk: 8.6.6 -> 8.6.9
Changelog for Tcl: https://github.com/tcltk/tcl/blob/core-8-6-9/changes#L8797
Changelog for Tk: https://github.com/tcltk/tk/blob/master/changes#L7417

Tk release is actually v8.6.9.1 while Tcl is v8.6.9
2019-04-27 07:09:05 +02:00
Jörg Thalheim
b5c1deca8a
treewide: remove wkennington as maintainer
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
2019-01-26 10:05:32 +00:00
Jörg Thalheim
42070c9b0d
tcl: enable threads and 64-bit support
64-bit support is only enabled on 64-bit systems
2018-12-12 00:58:30 +00:00
Jörg Thalheim
9637f4d58d
tcl: fix cross-build 2018-12-12 00:58:30 +00:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Eelco Dolstra
02bae39132 tcl: Don't install a copy of tzdata
This cuts about 3 MiB from the installed size. On Linux, the configure
script is supposed to detect that installing tzdata is unnecessary,
but it looks in locations like /usr/share/zoneinfo.
2016-09-01 18:57:43 +02:00
Eelco Dolstra
b0327ac240 tcl: Separate man output and use symlinks
This reduces tcl's total size from 25.0 MiB to 8.6 MiB. Admittedly
this is also because putting the manpages in the right place causes
all man3 pages to be deleted by the multiple outputs setup hook. Not
sure if that's desirable behaviour...
2016-09-01 18:57:43 +02:00
Rahul Gopinath
0ba631d5bb tcl/tk: 8.6.4 -> 8.6.6 2016-07-28 16:19:08 -07:00
William A. Kennington III
5835d577e7 tcl/tk: Refactor and add maintainers 2015-04-30 18:49:27 -07:00
William A. Kennington III
d7c0e3eaf8 tcl: Make generic and add 8.5 2015-04-26 21:15:25 -07:00
William A. Kennington III
55a64a5ddb tcl/tk: Tie versioning together and propagate 2015-04-26 20:55:42 -07:00
William A. Kennington III
8286f6cef3 tcl: 8.5.15 -> 8.6.4 2015-03-26 15:39:20 -07:00
Song Wenwu
b6cc977580 tcl: update to 8.5.15 2014-01-25 08:45:56 +08:00
aszlig
ae32dd91d4
tcl: Set license to licenses.tcltk.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2012-09-09 07:00:01 +02:00
Lluís Batlle i Rossell
163c7375a3 Adding a version of sqlite with more things, based on the upstream repository src.
svn path=/nixpkgs/trunk/; revision=33788
2012-04-14 21:40:55 +00:00
Lluís Batlle i Rossell
ef25944cdb Updating tcl/tk
svn path=/nixpkgs/trunk/; revision=15434
2009-05-03 14:35:56 +00:00
Eelco Dolstra
7689a348c4 * Got rid of a lot of "postInstall=postInstall" and similar lines in
builders.  These are redundant now.
* Inlined some trivial builders.
* Removed a few explicit setup-hook creations.  This is done
  automatically now if setupHook is set.
* Deleted the initscripts package.  NixOS doesn't use it anymore.

svn path=/nixpkgs/branches/stdenv-updates/; revision=15276
2009-04-23 13:31:10 +00:00
Eelco Dolstra
1c65ea4e20 * Added expect.
svn path=/nixpkgs/trunk/; revision=10877
2008-02-27 15:48:53 +00:00
Armijn Hemel
73391956ad update to 8.4.16
svn path=/nixpkgs/trunk/; revision=10013
2007-12-31 19:39:50 +00:00
Eelco Dolstra
607b0d3e80 * Rewrite all the SourceForge URLs to mirror://sourceforge/.
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done

svn path=/nixpkgs/trunk/; revision=9198
2007-08-27 13:01:33 +00:00
Eelco Dolstra
a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
URLs to http://nix.cs.uu.nl/dist/tarballs.  With content-addressable
  mirror support (r9190, NIXPKGS-70) this is no longer necessary:
  fetchurl will try to download from that location automatically.  So
  we can keep the original URLs.

svn path=/nixpkgs/trunk/; revision=9192
2007-08-24 12:32:36 +00:00
Eelco Dolstra
1442e8ec22 * Copy a bunch of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=6711
2006-10-12 13:50:54 +00:00
Armijn Hemel
3563604395 tk needs the private tcl headers to be installed
svn path=/nixpkgs/trunk/; revision=5869
2006-07-22 09:57:01 +00:00
Armijn Hemel
87ae734392 create symlink from $out/bin/tclsh to $out/bin/tclsh${version}
svn path=/nixpkgs/trunk/; revision=5868
2006-07-22 09:11:05 +00:00
Armijn Hemel
a89ab0583e upgrade to 8.4.13, fixes an error with configure
svn path=/nixpkgs/trunk/; revision=5867
2006-07-22 08:53:14 +00:00
Eelco Dolstra
3389f4bc36 * Copy lots of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=4623
2006-01-30 16:04:03 +00:00
Armijn Hemel
6ec2dea85c add xchat and tcl
svn path=/nixpkgs/trunk/; revision=4301
2005-11-22 12:05:18 +00:00