Commit Graph

112 Commits

Author SHA1 Message Date
n3oney
02d604cd68
treewide: add meta.mainProgram 2023-08-05 00:11:04 +02:00
Randy Eckenrode
dad6320407 fish: fix build with Darwin sandbox enabled 2023-06-08 17:55:12 -07:00
Cole Helbling
75cf58e348 fish: disable flaky pexpect test on darwin 2023-03-25 13:03:48 -07:00
Cole Helbling
b27114d16b fish: 3.6.0 -> 3.6.1
https://github.com/fish-shell/fish-shell/releases/tag/3.6.1
2023-03-25 10:31:20 -07:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Jamie Magee
bceec86123 fish: 3.5.1 -> 3.6.0
https://github.com/fish-shell/fish-shell/releases/tag/3.6.0
2023-01-09 06:37:09 -08:00
figsoda
49c8bc02d1 fish: omit attrPath in nix-update-script 2022-12-25 11:34:08 -05:00
Winter
3da148134f fish: add update script 2022-07-27 11:19:54 -07:00
Winter
e8b1b05acd fish: add winter and srapenne as maintainers 2022-07-23 11:56:11 -07:00
kilianar
0ae02f0c41 fish: 3.5.0 -> 3.5.1
https://github.com/fish-shell/fish-shell/releases/tag/3.5.1
2022-07-20 17:10:45 +02:00
Solène Rapenne
4a1b7f4a6d fish: 3.4.1 -> 3.5.0 2022-06-16 17:22:05 +02:00
zowoq
a487e362a1 fish: fix failing test 2022-06-06 16:19:31 +10:00
Klemens Nanni
fa5867073f pkgs/shells/fish: Fix completion file generator
Cherry-pick upstream commit to ensure that completions for commands
like mkfs.xfs(8) end up in mkfs.xfs.fish by fixing over-eager stripping
of file extensions.

All mkfs.*(8) (and fsck.*(8), etc.) programs would yield mkfs.fish files
with unique `complete -c mkfs ...` lines using the same command.

Thus completing `mkfs` in fish would for example yield XFS specific
suggestions, given "xfsprogs" was installed **and** won over other
packages.

Noticed through build logs:
```
building '/nix/store/5fz5jgkd2ycx5fk3lb30my2hr2br639f-system_fish-completions.drv'...
warning: collision between `/nix/store/1z01j2pma0l005w3qg6slndn0rp136s8-dosfstools-4.2_fish-completions/mkfs.fish' and `/nix/store/jxxgrng41l6qakg45fksk1qpil976vgi-xfsprogs-5.16.0_fish-completions/mkfs.fish'
```
2022-06-03 14:19:52 -07:00
Artturin
8445bf5f63 fish: split doc
it is 3.6M
2022-05-26 07:37:44 -07:00
Artturin
ea79263e60 pkgs/shells: enable strictDeps 2022-05-06 22:31:38 +03:00
D Anzorge
6d33b26fd1 fish: 3.4.0 -> 3.4.1 2022-03-25 14:09:39 -07:00
Kid
7a20bf0471 fish: disable flaky pexpect tests on aarch64-linux 2022-03-15 17:14:08 -07:00
Kid
ec85f68183 fish: 3.3.1 -> 3.4.0 2022-03-15 17:14:08 -07:00
Cole Helbling
2837d24014 Revert "fish: 3.3.1 -> 3.4.0" 2022-03-12 13:49:57 -08:00
Kid
95de56ba01 fish: 3.3.1 -> 3.4.0 2022-03-12 18:44:05 +00:00
rembo10
79f76cd8df fish: fix cross compile 2022-02-20 09:51:20 -06:00
Vladimír Čunát
1a17758b78
fish: upstream patch to fix tests after pcre2 update 2022-02-10 14:12:10 +01:00
Ben Siraphob
39a0a70d29
treewide: fix homepages with permanent redirect to https 2021-12-29 22:06:47 +07:00
rembo10
c16baf2d77 fish: remove util-linux 2021-12-24 10:17:04 -08:00
R. RyanTM
91887fed8d fish: 3.3.0 -> 3.3.1 2021-07-06 23:19:05 -07:00
R. RyanTM
bfe0f44b28 fish: 3.2.2 -> 3.3.0 2021-06-28 20:25:07 +00:00
hyperfekt
0ffab925ca fish: make python an optional dependency
Python is still used for tests, but does not become part of the closure.

In addition, nowadays fish only ever uses Python via __fish_anypython,
so using sed or propagating python isn't necessary anymore.
2021-05-10 10:18:25 -07:00
Maëlys Bras de fer
c1df7ffb7d fish: fix help for builtins
Removed trailing spaces in `sed` script that made it miss an occurrence of `nroff`.
2021-05-07 22:14:25 -07:00
Cole Helbling
563451277f
fish: 3.2.1 -> 3.2.2
Replacing all occurrences of `/usr` with `/nix` doesn't work, because
one test is just verifying if `wdirname` works (and `dirname /usr/lib`
is not the same as `dirname /nix/lib`).
2021-04-07 11:23:37 -07:00
Cole Helbling
853f1b740c fish: 3.2.0 -> 3.2.1 2021-03-18 09:49:05 -07:00
Vincent Haupert
6aa878679a fish: execute fish tests
Still includes `coreutils` in `checkInputs`.

macOS: disables some pexpect tests which depend on pkill/pgrep
(see #103180).
2021-03-06 16:26:22 -08:00
Vincent Haupert
b0c7213bd4 fish: fix passthru test
Patched file now uses double instead of single quotes.
2021-03-06 16:26:22 -08:00
Vincent Haupert
62f9a381a0 fish: 3.1.2 -> 3.2.0
functions/{type.fish,_.fish}: removed, now a builtin

macOS: disable codesigning with CMake flag instead of patching the
CMakeLists.txt.
2021-03-06 16:26:22 -08:00
Dominik Xaver Hörl
cf3e8a7352 fish: avoid nontermination in fhs like setups 2021-02-17 11:31:29 -08:00
Lily Ballard
c4f980a063 fish: Add fishEnvPreInit option
This new option allows for replacing the sourcing of
/etc/fish/nixos-env-preinit.fish with another file, optionally passing
it through `fenv`. The idea here is that non-NixOS users can do
something like

    fish.override {
      fishEnvPreInit = sourceBash:
        sourceBash "${nix}/etc/profile.d/nix-daemon.sh";
    }

and this will set up their shell environment for Nix just as though they
were running NixOS.
2021-02-04 19:05:22 -08:00
Ben Siraphob
3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
Ollie Charles
1675b11cd4 Remove myself from maintainers sets
Unfortunately I can't reliably commit time to nixpkgs, so I would like to remove myself from being a formal maintainer for these packages.
2020-12-07 14:30:37 +00:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
Dominik Xaver Hörl
b45a76916e fish: fixup awk references 2020-07-06 11:09:45 +02:00
Michele Guerini Rocco
b2532174e0
Merge pull request #90670 from bouk/fish-no-tr
fish: replace use of tr with string split
2020-06-18 09:48:01 +02:00
Bouke van der Bijl
84e25cf478 fish: use -p to prepend profile directories 2020-06-17 18:59:56 +02:00
Bouke van der Bijl
9daa1838d3 fish: replace use of tr with string split
This shaves about 4ms off fish start time.

Before (profiled with 'fish --profile prof.txt -c fish_prompt'):

225	4636	----> set -l __nix_profile_paths (echo $NIX_PROFILES | /nix/store/m5ajgnzp2512na31brwfmydwk3l1gawb-coreutils-8.31/bin/tr ' ' '\n')[-1..1]
4411	4411	-----> echo $NIX_PROFILES | /nix/store/m5ajgnzp2512na31brwfmydwk3l1gawb-coreutils-8.31/bin/tr ' ' '\n'

After:

190	248	----> set -l __nix_profile_paths (string split ' ' $NIX_PROFILES)[-1..1]
2020-06-17 18:59:35 +02:00
Cole Helbling
09fd67354e
fish: install docs to $out/share/doc/fish
Otherwise, it ended up going to $out/share/doc, which would pollute this
shared directory, as well as clash with other similarly misbehaving
packages.
2020-06-15 09:20:49 -07:00
Cole Helbling
a17630204a fish: fix and enable fishConfig test
`nix-build -A fish.tests.fishConfig` will now test that the
`fish_config` tool would start up properly. Previously, this test was
effectively disabled due to `withTests` being stubbed out.

I don't think this test ever truly worked, because the generated
temporary file would be cleaned up automatically (or maybe this
"automatically" changed between versions). The solution to this is to
add `delete=False` to the `NamedTemporaryFile` function call, to keep
the temporary file around in order to grep its contents for the expected
output.
2020-05-04 21:31:59 +02:00
Cole Helbling
7a15b6037b
fish: 3.1.1 -> 3.1.2
https://github.com/fish-shell/fish-shell/compare/3.1.1...3.1.2

"This release of fish fixes a major issue discovered in fish 3.1.1:
Commands such as `fzf` and `enhancd`, when used with `eval`, would hang.
`eval` buffered output too aggressively, which has been fixed."
2020-04-28 21:26:50 -07:00
adisbladis
f0fbce6673
Merge pull request #86136 from cole-h/fish
fish: 3.1.0 -> 3.1.1
2020-04-28 14:34:01 +02:00
adisbladis
7686c2cc6a
fish: Patch __fish_anypython function to return build input python3 2020-04-28 11:53:44 +01:00
Cole Helbling
87b02f74cf
fish: disable codesigning
We don't have access to the codesign binary.
2020-04-27 14:23:08 -07:00
Cole Helbling
a43ae05369
fish: 3.1.0 -> 3.1.1
https://github.com/fish-shell/fish-shell/compare/3.1.0...3.1.1

The patch we had to use for Apple SDKs was merged upstream, so it can be
dropped. I ran nixpkgs-fmt, and removed the `with stdenv.lib;` scope
expander.

Additionally, did a little bit of cleanup. I plan on refactoring this
more down the line, but this'll do for now.

I finally figured out why we use `fetchurl` for the tagged release: the
published release tarballs contain a version file, which the
`build_tools/git_version_gen.sh` script reads (and uses as the version
if it exists). The other thing it contains are pre-generated docs for
various `fish` builtins. I've expanded the comment to document this so
nobody is as confused as I was when I first saw it. (Though I plan to
change this and add sphinx as a native build input in order to build the
docs ourselves.)
2020-04-27 09:51:09 -07:00
Emery Hemingway
2ad4e21249 fish: declare tests from nixosTests 2020-04-22 11:45:04 +05:30