Commit Graph

14 Commits

Author SHA1 Message Date
r-vdp
b411346133 nixos/tests/fish: fix test broken by coreutils 9.10
coreutils 9.10 man pages are generated by help2man 1.50 which embeds
tty hyperlink escape codes (\X'tty: link ...'). These break fish's
create_manpage_completions.py parser, so coreutils.fish is no longer
generated.

Switch to coreutils-full (the minimal coreutils has no man pages at
all) and check for chmod.fish which still parses successfully.
2026-03-28 10:47:37 +01:00
Gaute Ravndal
a19a1fa394 nixos/tests/fish: test nixos-env-preinit.fish
Fish 4.3.1 broke preinit, and with it `environment.variables` in a fresh
login shell.
2026-01-02 08:01:45 +01:00
Fernando Rodrigues
5f3a4babc6 nixos/fish: fix indentation of generated files (#460855) 2025-11-13 00:10:37 +00:00
Eman Resu
b02a857c1c nixos/fish: fix indentation of generated files 2025-11-12 00:56:54 -05:00
loner
a92b1a2d21 test/fish: update fish_complete_path test for standalone mode 2025-11-11 18:22:25 +08:00
r-vdp
8b63e944e3 fish: don't generate man pages in the test VM 2025-02-27 16:40:31 +01:00
r-vdp
49ea3fd1ea fish: fix tests 2025-02-27 16:40:30 +01:00
r-vdp
15433ca1a8 fish: use runTest for the nixos test 2025-02-27 16:21:33 +01:00
r-vdp
f79e11adb9 fish: remove unneeded config from test, this was fixed in nixpkgs 2025-02-27 16:21:33 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
seth
f959fd3fff nixos/fish: disable logrotate service in module test
headstart on https://github.com/NixOS/nixpkgs/pull/267880
2024-05-07 00:37:47 -04:00
Robert Hensing
aa0f27abb0 treewide: machine -> nodes.machine 2022-03-28 14:11:58 +02:00
Jan Hrnko
a0a07e3936 nixos/fish: port test to python 2019-11-22 20:38:56 +01:00
hyperfekt
3731835efc nixos/fish: generate autocompletions from man pages 2019-02-27 12:23:48 +01:00