Commit graph

58 commits

Author SHA1 Message Date
Ben Siraphob e245ae3c3a pkgs/shells: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Andreas Fuchs 58fa36d30c zsh: Disable compiling in /usr/local/... as the site fndir
With the default configure flags, zsh compiles in a reference to the
"site function" directory that's outside the store path. Under the
right (wrong) circumstances, other builds using zsh can be affected by
these functions.
2020-11-28 19:04:06 -05:00
Patrick Hilhorst f7e390e6d4 treewide: fix redirected urls (run 3)
Related:
 - 9fc5e7e473
 - 593e11fd94
 - 508ae42a0f

Since the last time I ran this script, the Repology API changed, so I had to
adapt the script used in the previous PR. The new API should be more robust, so
overall this is a positive (no more grepping the error messages for our relevant
data but just a nice json structure).

Here's the new script I used:

```sh
curl https://repology.org/api/v1/repository/nix_unstable/problems \
   | jq -r '.[] | select(.type == "homepage_permanent_https_redirect") | .data | "s@\(.url)@\(.target)@"' \
   | sort | uniq | tee script.sed
find -name '*.nix' | xargs -P4 -- sed -f script.sed -i
```

I will also add this script to `maintainers/scripts`.
2020-10-02 09:01:35 -07:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
zowoq 83f3aa0113 zsh: 5.7.1 -> 5.8
https://www.zsh.org/mla/zsh-announce/141
2020-02-16 10:45:52 +10:00
Izorkin 8f5af404d2 zsh: fix bracketed-paste-magic 2020-01-30 14:02:34 +03:00
volth c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
Jörg Thalheim 84d2202a46
zsh: fix cross-compiling support 2019-08-02 10:04:10 +01:00
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Florian Friesdorf fbef5ab82f Remove myself as maintainer from packages
I'm currently not maintaining any packages.
2019-02-22 16:14:13 +01:00
Will Dietz bcea7dd394 zsh: 5.7 -> 5.7.1 2019-02-03 19:05:19 -06:00
Piotr Halama 40296f7c18 zsh: fix for infinite recursion in VCS_INFO_detect_p4
Fixes following error for grml-zsh users:
VCS_INFO_detect_p4:79: maximum nested function level reached; increase FUNCNEST?
2019-01-28 20:09:36 +01:00
Pascal Wittmann f826944d77
zsh: 5.6.2 -> 5.7 2019-01-24 21:37:54 +01:00
Sean Haugh 68982ea938 zsh: move --enable-zprofile into configureFlags (#52718) 2019-01-08 11:11:37 +01:00
Maximilian Bosch e8fb77a944
Merge pull request #46152 from Ma27/fix-setxkbmap-completion
zsh: patch `_setxkbmap` completion script
2018-10-19 14:33:04 +02:00
Maximilian Bosch 18d461533b
zsh: patch _setxkbmap completion script
Instead of searching `/usr` it should search for the `xkb`,
$XDG_DATA_DIRS will be searched. With this approach we allow compliance
on NixOS and non-NixOS systems to find `symbols` in the `xkb` directory.

The patch has been accepted by upstream, but isn't released yet, so this
is mainly a temporary fix until we can bump ZSH to the next stable version.

The `xserver` module links `/share/X11/xkb` to `/run/current-system` to
make this possible.

The fix can be tested inside the following VM:

```
{
  zshtest = {
    programs.zsh.enable = true;
    users.extraUsers.vm = {
      password = "vm";
      isNormalUser = true;
    };
    services.xserver.enable = true;
  };
}
```

Fixes #46025
2018-09-20 12:54:34 +02:00
Will Dietz ef21db9bd3 zsh: 5.6.1 -> 5.6.2
From upstream's NEWS:

> Changes from 5.6.1 to 5.6.2
> ---------------------------
>
> Fix another SIGTTOU case.
>
> Fix SIGWINCH being ignored when zsh is not in the foreground.
>
> The release tarballs are now compressed using xz(1), whereas previously
> both xz(1) and gzip(1) versions were available.  If this gets in your way,
> give us a shout.
>
2018-09-15 00:05:48 -05:00
Christoph Hrdinka cc68ac9807
zsh: 5.6 -> 5.6.1
Signed-off-by: Christoph Hrdinka <c.github@hrdinka.at>
2018-09-10 23:19:05 +02:00
Will Dietz 59f5a65e72 zsh: 5.5.1 -> 5.6 (#46052)
Security, see:

https://github.com/zsh-users/zsh/blob/zsh-5.6/NEWS#L7
2018-09-04 23:32:43 +02:00
Tim Steinbach c69eae9a91
zsh: 5.5 -> 5.5.1 2018-04-17 12:08:38 -04:00
Tor Hedin Brønner 9d53bc38c1 zsh: 5.4.2 -> 5.5 2018-04-09 17:21:07 +02:00
Will Dietz 2b8e900403 zsh: set configureFlags and checkFlags at nix level, also fix cross
As-is the use of 'configureFlags="..."' breaks cross compilation
as it drops the configure platforms arguments.

Set zprofile separately to handle $out.
2018-02-06 20:14:52 -06:00
Tim Steinbach 77e05e2c13
zsh: 5.4.1 -> 5.4.2 2017-08-29 17:54:11 -04:00
mimadrid 7eca5a7388
zsh: 5.3.1 -> 5.4.1 2017-08-12 17:03:31 +02:00
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Pascal Wittmann 2cfe735d1a
zsh: 5.3 -> 5.3.1 2016-12-21 21:21:59 +01:00
Tim Steinbach 788417e607
zsh: 5.2 -> 5.3 2016-12-12 17:48:18 -05:00
zimbatm 7e578dc334 zsh: add shellPath passthru 2016-06-12 18:57:31 +01:00
Christian Albrecht 9c6a69230d zsh: fix configureFlags #14256
commit 97332d3 introduced non expanding $out/etc/zprofile in zshs compiled in PATH.
this commit reverts the change so that $out is expanded at configure time.
2016-03-31 16:57:30 +02:00
Christoph Hrdinka c4ee8f5700 zsh: fix zsh.info* install location 2016-03-09 14:13:31 +01:00
Pascal Wittmann 68a1b2411a zsh: 5.1.1 -> 5.2 2015-12-05 17:07:41 +01:00
Christian Albrecht 97332d30f6 zsh: re-enable tests skipping broken
Do not disable all tests, only those broken as zsh/zpty module is not
available on hydra.
2015-11-26 09:59:27 +00:00
Pascal Wittmann f24e989fd2 zsh: 5.1 -> 5.1.1 2015-09-12 11:58:57 +02:00
Pascal Wittmann fe3609b646 [zsh] disable tests again, they fail on hdyra 2015-09-08 12:45:33 +02:00
Pascal Wittmann 092a5eea28 zsh: enable tests 2015-09-06 19:04:55 +02:00
Pascal Wittmann 78b33072d8 zsh: update from 5.0.8 to 5.1 2015-09-06 19:04:55 +02:00
Pascal Wittmann 6ceecb5548 zsh: update from 5.0.7 to 5.0.8
add myself as maintainer
2015-06-08 12:55:38 +02:00
Eelco Dolstra 61cca2cadf meta.homePage -> homepage 2015-04-20 14:20:03 +02:00
Pascal Wittmann 164a6f878c zsh: update from 5.0.6 to 5.0.7 2014-10-09 09:43:33 +02:00
muflax 9d9258be5c zsh: bump version 2014-09-27 08:33:32 +01:00
muflax 368d0b4213 zsh: enable pcre 2014-09-27 08:33:29 +01:00
Joel Taylor 3bc13f1c58 allow zsh on mac 2014-07-17 15:38:19 -07:00
Bjørn Forsman 52561fb7a8 zsh: improve description
Capitalize first word. Wrap overlong longDescription line.
2014-06-23 13:07:28 +02:00
Peter Simons cf5ac3bded zsh: update from 5.0.2 to 5.0.5 2014-04-09 12:41:10 +02:00
Danie Roux 63a2b95c21 zsh: Upgrade to 5.0.2 2013-09-01 16:46:21 +02:00
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Florian Friesdorf 89c3120b20 zsh profile load tweaking only on nixos
svn path=/nixpkgs/trunk/; revision=31149
2011-12-29 20:09:30 +00:00
Florian Friesdorf 0009c1f650 zshprofile to load /etc/profile while emulating bash
svn path=/nixpkgs/trunk/; revision=31148
2011-12-29 19:46:47 +00:00
Florian Friesdorf ecba799e78 zsh meta
svn path=/nixpkgs/trunk/; revision=31147
2011-12-29 19:46:43 +00:00
Florian Friesdorf c6ad751a8c zsh-4.3.15
svn path=/nixpkgs/trunk/; revision=31146
2011-12-29 19:46:37 +00:00