Repository navigation
Labels
Description
Nixpkgs version
- Unstable (25.11)
Steps to reproduce
nix build .#fish
Link to Hydra build job
Relevant log output
$ nix build .#fish
error: builder for '/nix/store/xbcj54iv1y948j6qdqn1bpbwk9cmq9zh-fish-4.2.1.drv' failed with exit code 1;
last 25 log lines:
> tests/checks/math.fish
> tests/checks/signal.fish
> tests/checks/fish_update_completions.fish
> tests/checks/pipeline-pgroup.fish
> tests/checks/job-control-noninteractive.fish
> tests/checks/sigint.fish
> tests/checks/config-paths-standalone.fish
> tests/checks/disown-parent.fish
> tests/checks/help-completions.fish
> tests/checks/message-localization.fish
> tests/checks/message-localization-tier-is-declared.fish
> tests/checks/colon-delimited-var.fish
> tests/checks/sigint2.fish
> tests/checks/po-files-well-formed.fish
> tests/checks/noshebang.fish
> tests/checks/trap.fish
> tests/checks/wait.fish
> tests/checks/check-completions.fish
> tests/checks/jobs.fish
> tests/checks/sphinx-man.fish
> tests/checks/sphinx-html.fish
> tests/checks/check-all-fish-files.fish
> FAILED: [code=1] CMakeFiles/fish_run_tests /nix/var/nix/builds/nix-build-fish-4.2.1.drv-0/b/source/build/CMakeFiles/fish_run_tests
> cd /nix/var/nix/builds/nix-build-fish-4.2.1.drv-0/b/source && /nix/var/nix/builds/nix-build-fish-4.2.1.drv-0/b/source/tests/test_driver.py /nix/var/nix/builds/nix-build-fish-4.2.1.drv-0/b/source/build && env FISH_CMAKE_BINARY_DIR=/nix/var/nix/builds/nix-build-fish-4.2.1.drv-0/b/source/build PREFIX=/nix/store/szj33n7galqwf5xax0ipqiva8c3fs6hk-fish-4.2.1 DOCDIR=/nix/store/b3q9c9gkh3bbfqz4ffgxxvzycvffsccp-fish-4.2.1-doc/share/doc/fish DATADIR=/nix/store/szj33n7galqwf5xax0ipqiva8c3fs6hk-fish-4.2.1/share SYSCONFDIR=/nix/store/szj33n7galqwf5xax0ipqiva8c3fs6hk-fish-4.2.1/etc BINDIR=/nix/store/szj33n7galqwf5xax0ipqiva8c3fs6hk-fish-4.2.1/bin CARGO_TARGET_DIR=/nix/var/nix/builds/nix-build-fish-4.2.1.drv-0/b/source/build/cargo/build CARGO_BUILD_RUSTC=/nix/store/58qfkg2idgx439l4mwxrd0hdxvrpqk0r-rustc-wrapper-1.90.0/bin/rustc RUSTFLAGS=\ FISH_SPHINX=/nix/store/h0rpygqj9vjj0ngzq6j54bg0yd8gmkbq-python3.13-sphinx-8.2.3/bin/sphinx-build FISH_USE_PREBUILT_DOCS=FALSE /nix/store/yplr33zihm2n3xy5f9qxvg700yjgzyqx-cargo-1.90.0/bin/cargo test --no-default-features --workspace --target-dir /nix/var/nix/builds/nix-build-fish-4.2.1.drv-0/b/source/build/cargo/build/aarch64-apple-darwin --target aarch64-apple-darwin --lib
> ninja: build stopped: subcommand failed.
For full logs, run 'nix log /nix/store/xbcj54iv1y948j6qdqn1bpbwk9cmq9zh-fish-4.2.1.drv'.Additional context
$ git log | head
commit 5dc66d4a0db024ebeca7460995a7df34d96988b8
Merge: 836cae07645e 3cb6684582bf
Author: Gaétan Lepage <[email protected]>
Date: Fri Nov 14 00:08:36 2025 +0000
COSMIC beta 6 (#461020)System metadata
- system:
"aarch64-darwin" - host os:
Darwin 24.6.0, macOS 15.7.3 - multi-user?:
yes - sandbox:
no - version:
nix-env (Lix, like Nix) 2.93.3 System type: aarch64-darwin Additional system types: x86_64-darwin Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /Users/user/.config/nix/nix.conf:/Users/user/.nix-profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/user/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/wags9ajivrc1r24z9qx5glny5n8q5i4g-lix-2.93.3/share - nixpkgs:
/nix/store/yff8cp4mrjrf71i1g9llxqpip8a6sfyj-source
Notify maintainers
@adamcstephens @cole-h @winterqt @SigmaSquadron @r-vdp
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Reacted by Austin Horstman, Divy, Simon Kalt, Steve Mayer, suiiii, Shogo Takata, Dixon Sean Low Yan Feng, kurt, James Cook, Yi-Jyun Pan and 38 more
Activity
adamcstephens commentedon Nov 14, 2025
Hydra does build fish on Darwin, not sure why you say it doesn’t. It hasn’t tried on this version yet. https://hydra.nixos.org/job/nixpkgs/trunk/fish.aarch64-darwin
That said there may have been some regressions from the latest staging next merge. I won’t be able to look at this until next week in case someone else has time.
khaneliman commentedon Nov 14, 2025
Here's the relevant logs
Logs
adamcstephens commentedon Nov 14, 2025
I saw the same
pexpectfailures earlier. I even bisected the staging-next merge but ended up on a merge from staging-next to staging. We're setting up a python env with pexpect for the checks, but something still isn't connecting.I'm not opposed to disabling the checks to unbreak this.
winterqt commentedon Nov 14, 2025
Slightly surprised this doesn’t happen on Linux but Python’s error messages wrt imports can be very misleading sometimes. I’ll take a peek this weekend.
adamcstephens commentedon Nov 14, 2025
And hydra now has a failure. https://hydra.nixos.org/build/313319533
adamscott commentedon Nov 15, 2025
winterqt commentedon Nov 15, 2025
@adamscott Hydra can’t repro, so I assume you’re actually grabbing it from 25.11.
adamscott commentedon Nov 15, 2025
adamcstephens commentedon Nov 15, 2025
This issue feels suspiciously similar. #461884 (comment) But we’re not doing cross here…
9999years commentedon Nov 15, 2025
@adamcstephens The issue isn't cross-specific AFAICT: #461884 (comment)
ilyagr commentedon Nov 16, 2025
AFAICT, #461779 is meant to fix this.
fishbuild failure nix-darwin/nix-darwin#1639 as a duplicate of this issue2 remaining items
adamcstephens commentedon Nov 17, 2025
Ok, since the root fix was found, let's disable checks until it gets out. #462589
fix(darwin): work around fish build failure
fix(darwin): work around fish build failure
fix(fish): disable tests
Remove nixpkgs pin now that fish 4.2.1 test failures are fixed
Update nixpkgs pin comment: fish fixed, but pyarrow now broken
Update nixpkgs to Nov 17, 2025 commit (fish fixed, testing pyarrow)
Update nixpkgs pin comment: fish fixed, but pyarrow now broken
fix(darwin): work around fish build failure
fix(fish): disable tests
fix(fish): disable tests
fix(fish): disable tests
fix(fish): disable tests