Skip to content

fish: 4.1.2 -> 4.2.0#460330

Merged
adamcstephens merged 5 commits intoNixOS:masterfrom
lonerOrz:update/fish
Nov 12, 2025
Merged

fish: 4.1.2 -> 4.2.0#460330
adamcstephens merged 5 commits intoNixOS:masterfrom
lonerOrz:update/fish

Conversation

@lonerOrz
Copy link
Member

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@lonerOrz lonerOrz requested review from r-vdp and wolfgangwalther and removed request for r-vdp November 10, 2025 12:21
@wolfgangwalther

This comment was marked as resolved.

@wolfgangwalther wolfgangwalther removed their request for review November 10, 2025 12:23
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. labels Nov 10, 2025
@lonerOrz
Copy link
Member Author

This package has 5 listed maintainers, not sure why you request me for review.

github's default recommendation, I don't know why

@DieracDelta
Copy link
Member

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 460330
Commit: c00a6c1634012a9b1f7d35199912073386d42959


x86_64-linux

❌ 4 packages failed to build:
  • kitty
  • kitty.kitten
  • kitty.shell_integration
  • kitty.terminfo
✅ 28 packages built:
  • bat-extras.batdiff
  • bat-extras.batgrep
  • bat-extras.batman
  • bat-extras.batpipe
  • bat-extras.batwatch
  • bat-extras.core
  • bat-extras.prettybat
  • direnv
  • fish
  • fish-lsp
  • fish.doc
  • fishMinimal
  • fishMinimal.doc
  • fishPlugins.bass
  • fishPlugins.done
  • fishPlugins.fishtape
  • fishPlugins.fishtape_3
  • fishPlugins.fzf-fish
  • fishPlugins.humantime-fish
  • fishPlugins.pure
  • fzf-git-sh
  • mise
  • nixpkgs-manual
  • oh-my-fish
  • swaynotificationcenter
  • tests.writers.bin.fish
  • tests.writers.simple.fish
  • vimPlugins.direnv-vim

Error logs: `x86_64-linux`
kitty
    end_time = 499882.467813835
    msg = 'The condition was not met'
    q = <function ShellIntegration.test_fish_integration.<locals>.redrawn at 0x7fffcb236980>
    self = <kitty_tests.PTY object at 0x7fffcb0614f0>
    timeout = 10
    timeout_msg = None
TimeoutError: Timed out after 10 seconds: The condition was not met. Screen contents as repr:
'[?200_test_comp_path              <right\nok\nleft>echo $COLUMNS                <right\n\n\n\n\n\n\n\n\n\n\n\n\n'
Screen contents:
[?200_test_comp_path              <right
ok
left>echo $COLUMNS                <right

Ran 158 tests in 32.842s

FAILED (errors=2, skipped=2)
All Go tests succeeded, ran in 33.1 seconds
Error: Some tests failed!
make: *** [Makefile:16: test] Error 1

@SigmaSquadron
Copy link
Contributor

I think we can ignore Kitty's failure. It probably just needs an update to fix the test.

@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". labels Nov 10, 2025
Copy link
Contributor

@adamcstephens adamcstephens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general there's no need to use github's review request. The CI jobs will properly request review from the maintainers of a package.

@adamcstephens
Copy link
Contributor

@rvolosatovs @Luflosi @kashw2 @leiserfg fyi this latest fish looks like it's going to break kitty tests. I did a quick look upstream but didn't see a fix yet.

@nixpkgs-ci nixpkgs-ci bot removed the 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". label Nov 10, 2025
Copy link
Contributor

@alois31 alois31 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks fish_patched-completion-generator (from nixos/modules/programs/fish.nix) with the following error due to a file being gone:

Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/yijnd98rbb77vx0ll37ajwfaalkvbrkk-fish-4.2.0/share/fish/tools/create_manpage_completions.py
unpacking source archive /nix/store/yijnd98rbb77vx0ll37ajwfaalkvbrkk-fish-4.2.0/share/fish/tools/deroff.py
cp: cannot stat '/nix/store/yijnd98rbb77vx0ll37ajwfaalkvbrkk-fish-4.2.0/share/fish/tools/deroff.py': No such file or directory
do not know how to unpack source archive /nix/store/yijnd98rbb77vx0ll37ajwfaalkvbrkk-fish-4.2.0/share/fish/tools/deroff.py

Some adjustment will be needed to not render the module essentially unusable.

@lonerOrz
Copy link
Member Author

Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/yijnd98rbb77vx0ll37ajwfaalkvbrkk-fish-4.2.0/share/fish/tools/create_manpage_completions.py
unpacking source archive /nix/store/yijnd98rbb77vx0ll37ajwfaalkvbrkk-fish-4.2.0/share/fish/tools/deroff.py
cp: cannot stat '/nix/store/yijnd98rbb77vx0ll37ajwfaalkvbrkk-fish-4.2.0/share/fish/tools/deroff.py': No such file or directory
do not know how to unpack source archive /nix/store/yijnd98rbb77vx0ll37ajwfaalkvbrkk-fish-4.2.0/share/fish/tools/deroff.py

The create_manpage_completions.py already includes deroff.py, so deroff.py is no longer needed separately.

@nixpkgs-ci nixpkgs-ci bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Nov 10, 2025
@adamcstephens
Copy link
Contributor

The tests are failing. If you run nix-build -A fish.tests you will likely see:

vm-test-run-fish-x86_64-linux> machine: output:
vm-test-run-fish-x86_64-linux> !!! Traceback (most recent call last):
vm-test-run-fish-x86_64-linux> !!!   File "<string>", line 4, in <module>
vm-test-run-fish-x86_64-linux> !!!     machine.succeed(
vm-test-run-fish-x86_64-linux> !!!
vm-test-run-fish-x86_64-linux> !!! RequestedAssertionFailed: command `fish -ic 'echo $fish_complete_path' | grep -q '/share/fish/completions /etc/fish/generated_completions /root/.cache/fish/generated_completions$'` failed (exit code 1)
vm-test-run-fish-x86_64-linux> cleanup
vm-test-run-fish-x86_64-linux> kill machine (pid 9)
vm-test-run-fish-x86_64-linux> qemu-system-x86_64: terminating on signal 15 from pid 6 (/nix/store/cfapjd2rvqrpry4grb0kljnp8bvnvfxz-python3-3.13.8/bin/python3.13)
vm-test-run-fish-x86_64-linux> kill vlan (pid 7)
vm-test-run-fish-x86_64-linux> (finished: cleanup, in 0.00 seconds)

@leiserfg
Copy link
Contributor

this latest fish looks like it's going to break kitty tests. I did a quick look upstream but didn't see a fix yet.

What and where have you seen?

@adamcstephens
Copy link
Contributor

What and where have you seen?

see logs in:
#460330 (comment)

@leiserfg
Copy link
Contributor

What and where have you seen?

see logs in: #460330 (comment)

Kovid fixed it upstream, I think the patch can be added in this PR.

@lonerOrz
Copy link
Member Author

The tests are failing. If you run nix-build -A fish.tests you will likely see:

vm-test-run-fish-x86_64-linux> machine: output:
vm-test-run-fish-x86_64-linux> !!! Traceback (most recent call last):
vm-test-run-fish-x86_64-linux> !!!   File "<string>", line 4, in <module>
vm-test-run-fish-x86_64-linux> !!!     machine.succeed(
vm-test-run-fish-x86_64-linux> !!!
vm-test-run-fish-x86_64-linux> !!! RequestedAssertionFailed: command `fish -ic 'echo $fish_complete_path' | grep -q '/share/fish/completions /etc/fish/generated_completions /root/.cache/fish/generated_completions$'` failed (exit code 1)
vm-test-run-fish-x86_64-linux> cleanup
vm-test-run-fish-x86_64-linux> kill machine (pid 9)
vm-test-run-fish-x86_64-linux> qemu-system-x86_64: terminating on signal 15 from pid 6 (/nix/store/cfapjd2rvqrpry4grb0kljnp8bvnvfxz-python3-3.13.8/bin/python3.13)
vm-test-run-fish-x86_64-linux> kill vlan (pid 7)
vm-test-run-fish-x86_64-linux> (finished: cleanup, in 0.00 seconds)

Perhaps we need to modify the test code; should /share/fish/completions be replaced with /share/fish/vendor_completions.d?
fish-shell/fish-shell@c409e81

@leiserfg
Copy link
Contributor

leiserfg commented Nov 11, 2025

@lonerOrz the patch is merged upstream already,IMHO it's better to use fetchpatch pointing to the commit instead of vendoring the patch file.

@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Nov 11, 2025
@lonerOrz lonerOrz requested a review from alois31 November 12, 2025 05:38
@adamcstephens adamcstephens added this pull request to the merge queue Nov 12, 2025
Merged via the queue into NixOS:master with commit 26a29d1 Nov 12, 2025
30 of 32 checks passed
@lonerOrz lonerOrz deleted the update/fish branch November 12, 2025 17:50
@jonhermansen
Copy link
Member

jonhermansen commented Nov 13, 2025

Not sure if it's just me, but some of the fish tests might be a bit flaky (no pun intended) on master branch

I didn't capture a log but somehow after a few nixos-rebuilds the problem went away, making me think there is either something wrong with my setup or the test suite

EDIT: Seems it was fixed in #461243 or #461265 and I must have updated my flake input around the time it was merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants