Commit Graph

125 Commits

Author SHA1 Message Date
sheeaza
30d581b29d wrapFish: fix early variable expansion
the bash script will retrieve the $var and cause the variable expand to empty
add \ to prevent this, and let fish command to retrieve the variable
2021-10-28 23:10:08 +08:00
Vanilla
16c2bce1fb
fishPlugins.pisces: init at 0.7.0 2021-10-08 16:11:53 +08:00
Malo Bourgon
50c8c2083a fishPlugins.done: 1.16.3 -> 1.16.5 2021-10-04 12:35:28 -07:00
Tomoya Otabi
dd50512f67
fishPlugins.fzf-fish: 5.6 -> 7.3 (#137153) 2021-09-09 15:33:49 +02:00
AndersonTorres
224e516ccb oh-my-fish: init at 7+unstable=2021-03-03 2021-08-09 11:54:53 -03:00
Malo Bourgon
b24129f9c9 fishPlugins.done: 1.16.1 -> 1.16.3 2021-07-13 03:45:36 +09:00
R. RyanTM
91887fed8d fish: 3.3.0 -> 3.3.1 2021-07-06 23:19:05 -07:00
Sandro
231e58b113
Merge pull request #128556 from r-ryantm/auto-update/fish
fish: 3.2.2 -> 3.3.0
2021-06-29 23:48:31 +02:00
pacien
8da867297a fishPlugins.pure: 3.4.2 -> 4.1.1
The repository of the project has been transferred to a GitHub organisation.
See https://github.com/pure-fish/pure/issues/249.

The tests of this package are also failing upstream, so they have been
temporarily disabled here too.
2021-06-29 22:55:24 +02: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
happysalada
a946e4c558 fishplugins.forgit: fix dependency linking 2021-04-29 08:22:54 +09:00
happysalada
f1e271714b fishplugins.forgit-fish: rename fishplugins.forgit 2021-04-29 08:22:54 +09:00
happysalada
b164642941 fishplugins.forgit: init "unstable-2021-04-09" 2021-04-26 20:22:40 +09:00
Malo Bourgon
fd44ecd1d8 fishPlugins.done: init at 1.16.1 2021-04-21 10:04:32 -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
Jan Tojnar
f21526b5bb
buildFishPlugin: do not pass irrelevant arguments down
mkDerivation does not care about checkPlugins and checkFunctionDirs so let’s avoid polluting the scope.
Also remove installPath argument altogether for the same reason since it is not used at all.
2021-03-13 21:30:37 +01:00
pacien
74a66734cd fishPlugins.fzf-fish: init at 5.6 2021-03-09 14:25:04 +01:00
pacien
d7145807ad fishPlugins.fishtape_3: init at 3.0.1
Keeping fishtape 2.x and 3.x separate because they aren't compatible
with each other and are still both being used to test different packages.
2021-03-09 14:25:04 +01:00
pacien
97b64bd65e fishPlugins.clownfish: init at unstable-2021-01-17 2021-03-09 14:24:59 +01: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
pacien
c6efc0b255 wrapFish: fix singleton expansion in shell init
This fixes the expansion of the configuration path in the pathological
case of a singleton, which would otherwise be used verbatim with the
surrounding braces for lookup.

GitHub: see https://github.com/NixOS/nixpkgs/pull/108491#pullrequestreview-590072603
2021-02-16 11:01:43 -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
Kevin Griffin
62a50d89cc
babelfish: 1.0.1 -> 1.1.0 2021-02-01 21:25:48 +09:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Kevin Griffin
af1df42fec
babelfish: 1.0.0 -> 1.0.1 2021-01-21 22:22:34 +09:00
Cole Helbling
86b83264cb
babelfish: 0.1.3 -> 1.0.0
Notably, adds support for stdout redirections and fixes a failing test.
2021-01-16 07:34:32 -08:00
Sandro
82fd153465
Merge pull request #108946 from kevingriffin/fish-babelfish 2021-01-12 14:27:04 +01:00
Kevin Griffin
8d0ddfc1b6
babelfish: init at version 0.1.3 2021-01-12 20:19:54 +09:00
Michele Guerini Rocco
a306b088f6
Merge pull request #108491 from pacien/fishPlugins-wrapFish
wrapFish: add fish shell wrapper package
2021-01-11 09:10:52 +01:00
pacien
108fd69a8c fishPlugins.buildFishPlugin: rename checkFunctionPath parameter 2021-01-11 03:39:57 +01:00
pacien
648a3db934 fishPlugins.buildFishPlugin: use wrapFish 2021-01-11 00:47:56 +01:00
Jan Tojnar
f19eb635b4
Merge branch 'master' into staging-next
b04fc593e7 seems to have accidentally changed mkDerivation function for dfilemanager and solarus-quest-editor so I have reverted that here.
2021-01-07 13:04:31 +01:00
pacien
ae5c662182 wrapFish: add fish shell wrapper package
This adds a wrapper for fish which allows creating shells pre-initialised
with some completions, functions, and configuration scripts from given paths
or from fish plugin packages (`pkgs.fishPlugins.*`).

This is especially handy when one wants to try a plugin in an ephemeral shell.

GitHub: see https://github.com/NixOS/nixpkgs/pull/107834#discussion_r550612519
2021-01-05 17:20:39 +01:00
pacien
d94921db12 fish-foreign-env: move to fishPlugins.foreign-env
And relocate the installed fish functions to the `vendor_functions.d` so
that they're automatically loaded.
2021-01-04 18:53:59 +01:00
pacien
59c1b6d0e7 fishPlugins.pure: init at 3.4.2 2021-01-04 18:51:11 +01:00
pacien
3a987feae1 fishPlugins.fishtape: init at 2.1.3 2021-01-04 18:51:11 +01:00
pacien
c083b27791 fishPlugins: bootstrap fish plugin scope 2021-01-04 18:51:11 +01: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