Commit Graph

71 Commits

Author SHA1 Message Date
Dmitry Bogatov
b8f1cd1e97
zsh: split documentation into separate outputs 2022-06-17 21:10:27 -04:00
Artturin
c8474bca54 zsh: remove versioned binary
fedora, openSUSE, and debian do it too

https://src.fedoraproject.org/rpms/zsh/blob/rawhide/f/zsh.spec#_108
https://salsa.debian.org/debian/zsh/-/blob/debian/debian/rules#L142
2022-05-31 19:56:02 +03:00
Artturin
19dd92369e zsh: 5.8.1 -> 5.9 && add artturin to maintainers 2022-05-26 04:18:43 +03:00
Artturin
ea79263e60 pkgs/shells: enable strictDeps 2022-05-06 22:31:38 +03:00
Alyssa Ross
b0a871a3ec zsh: 5.8 -> 5.8.1
Fixes: CVE-2021-45444
2022-03-14 12:57:03 +00:00
Will Cohen
9b7691cbb4 zsh: exclude util-linux on darwin 2022-01-11 14:00:32 -05:00
Will Cohen
75d64f2c19 zsh: remove superfluous darwin postInstall make 2022-01-10 22:20:16 -05:00
Will Cohen
845f228ff8 zsh: fix build on darwin 2022-01-10 12:57:34 -05:00
Michael Hoang
7ada385af0 zsh: Support building from Git checkouts
A pregenerated `./configure` script is included with `zsh` release
tarballs which makes it so that `zsh` won't build Git checkouts without
`autoreconfHook`.

There are also other files that were pregenerated and included in
releases so a few other tools are necessary to successfully build `zsh`.
We can also build the docs ourselves instead of using the `docs`
tarball.

This means that users can now easily override the `zsh` derivation:

    pkgs.zsh.overrideAttrs (old: {
      src = fetchgit {
        url = "https://git.code.sf.net/p/zsh/code.git";
        rev = "zsh-5.8";
        sha256 = "sha256-Gou2UgafLHnZnG2X8DulidOTO1idTQpnZ3DicZuhCZc=";
      };
    })
2022-01-09 22:56:36 +11:00
Michael Hoang
41c7806df5 zsh: fix git stash drop completions 2021-10-28 13:28:58 +11:00
Guillaume Girol
af9f38c205 zsh: fix TZ= completion 2021-09-03 12:00:00 +00:00
Robert Hensing
0e5cfdb8c5 Partially revert "various: cleanup of 'inherit version;'"
I forgot to unresolve a conversation, causing the PR to be merged
prematurely by someone else.

This partially reverts commit 1e9baed56b.
2021-07-17 22:39:28 +02:00
Felix Buehler
1e9baed56b various: cleanup of 'inherit version;' 2021-07-16 00:17:12 +02:00
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