Skip to content

Build failure: starship on aarch64-darwin #540450

Closed

Description

@mnixry

Nixpkgs version

  • Unstable (26.11)

Steps to reproduce

nix shell "github:NixOS/nixpkgs/nixos-unstable-small#starship"

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

https://hydra.nixos.org/build/337059800

Relevant log output

error: linking with `/nix/store/yn81qpksaxk576qb807fsck5ch7zmj6c-clang-wrapper-21.1.8/bin/cc` failed: exit status: 1
  |
  = note:  "/nix/store/yn81qpksaxk576qb807fsck5ch7zmj6c-clang-wrapper-21.1.8/bin/cc" "<1 object files omitted>" "/nix/var/nix/builds/nix-474-527671716/source/target/aarch64-apple-darwin/release/deps/rustcMyFEtW/libmac_notification_sys-7cd8cffcfcbf530a.rlib" "<sysroot>/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-*.rlib" "-framework" "IOKit" "-framework" "IOKit" "-lc" "-framework" "SystemConfiguration" "-framework" "AppKit" "-framework" "Foundation" "-framework" "CoreFoundation" "-lSystem" "-lSystem" "-lobjc" "-framework" "Foundation" "-liconv" "-lSystem" "-lc" "-lm" "-arch" "arm64" "-mmacosx-version-min=14.0.0" "-L" "/nix/var/nix/builds/nix-474-527671716/source/target/aarch64-apple-darwin/release/build/mac-notification-sys-58060cc41754840d/out" "-o" "/nix/var/nix/builds/nix-474-527671716/source/target/aarch64-apple-darwin/release/deps/starship-d4070f45a78a7015" "-Wl,-dead_strip" "-nodefaultlibs" "/nix/var/nix/builds/nix-474-527671716/source/target/aarch64-apple-darwin/release/deps/starship_audit_data.o" "-Wl,-u,_AUDITABLE_VERSION_INFO"
  = note: some arguments are omitted. use `--verbose` to show all linker arguments
  = note: /nix/store/pnd38c1w69ajjfmpsajbz7i72jd2i62v-cctools-binutils-darwin-wrapper-1010.6/bin/ld: line 292:  6580 Trace/BPT trap: 5          /nix/store/zhb8xrwn0mp0xk3argfbh8w73c4cipqs-cctools-binutils-darwin-1010.6/bin/ld "@$responseFile"
          clang: error: linker command failed with exit code 133 (use -v to see invocation)
          

error: could not compile `starship` (bin "starship") due to 1 previous error

Additional context

A regression in darwin's cctools made this. Workaround PR is on the way :)

System metadata

  • system: "aarch64-darwin"
  • host os: Darwin 25.4.0, macOS 26.4.1
  • multi-user?: yes
  • sandbox: no
  • version: nix-env (Nix) 2.34.7
  • channels(root): "nixpkgs"
  • nixpkgs: /nix/store/nsca4c1dzwn5sray13rhmdlksh133id3-source

Notify maintainers

@Frostman @0xda157 @SigmaSquadron


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

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Activity

  1. added
    0.kind: build failure
    on Jul 10, 2026
  2. added
    6.topic: darwin
    on Jul 10, 2026
  3. GwendalBeaumont commented on Jul 11, 2026

    @GwendalBeaumont
    Contributor

    Same thing on nixos-unstable (non-small)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failure6.topic: darwin

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions