Skip to content

snouty: add work-around to hardcoded Debian cross toolchain name - #540824

Closed
notklea wants to merge 1 commit into
NixOS:masterfrom
notklea:snouty-aarch64-linux
Closed

notklea wants to merge 1 commit into
NixOS:masterfrom
notklea:snouty-aarch64-linux

Conversation

@notklea

@notklea notklea commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Taken from

# upstream hardcodes a Debian cross toolchain name that doesn't exist in the Nix sandbox
substituteInPlace .cargo/config.toml \
--replace-fail 'linker = "aarch64-linux-gnu-gcc"' ""

Fixes build failure on aarch64-linux

Things done

@notklea notklea mentioned this pull request Jul 11, 2026
4 of 13 tasks
@nixpkgs-ci
nixpkgs-ci Bot requested review from carlsverre and winterqt July 11, 2026 19:00
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Jul 11, 2026
@amadaluzia

Copy link
Copy Markdown
Member

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 540824
Commit: 102076e9f2510016ee6081db434824ddf33293cf


x86_64-linux

✅ 1 package built:
  • snouty

@amadaluzia amadaluzia left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jul 29, 2026
@nixpkgs-review-gha

Copy link
Copy Markdown

✅ nixpkgs-review result

Generated using nixpkgs-review-gha (ac985e1)

Command: nixpkgs-review pr 540824
Commit: 102076e9f2510016ee6081db434824ddf33293cf (subsequent changes)
Merge: ae66251187a9a4eb450bc1a187445d251047e033

Triggered by @amadaluzia (188314694)
Logs: https://github.com/amadaluzia/nixpkgs-review-gha/actions/runs/30456495261/attempts/1


aarch64-linux

✅ 1 package built:
  • snouty

x86_64-darwin

✅ No rebuilds


aarch64-darwin (sandbox = relaxed)

✅ 1 package built:
  • snouty

@nixpkgs-review-gha nixpkgs-review-gha left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Approved automatically on behalf of @amadaluzia (188314694) following the successful run of nixpkgs-review (Logs)

@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 Jul 29, 2026
@uwu-420

uwu-420 commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

@carlsverre @winterqt review would be highly appreciated. Some important security updates for podman in nix are blocked on this.

@amadaluzia

amadaluzia commented Jul 31, 2026 •

Copy link
Copy Markdown
Member

Some important security updates for podman in nix are blocked on this.

Are you sure? None of the dependencies in the only open PR updating podman (#536860) seems to pull in snouty. Moreover, snouty doesn't have any dependents either.

@uwu-420

uwu-420 commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

@amadaluzia Right, sorry. I meant the 26.05 backport #536367, which currently cherry-picks this fix. Since Snouty already fails on its base branch, this fix can be omitted.

@notklea

notklea commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

Should I drop the commit from the cherry pick and try to ask if someone could review the backport?

@uwu-420

uwu-420 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

@notklea Yeah, dropping the Snouty commit and asking for review on #536367 looks right.

Comment thread pkgs/by-name/sn/snouty/package.nix Resolved
Comment thread pkgs/by-name/sn/snouty/package.nix Resolved
@carlsverre

Copy link
Copy Markdown
Contributor

I'm sorry I am so afk on this folks! It seems fine to just rm the cargo config in Nix. I think I just added that ages ago to handle cross-platform builds.

@carlsverre

Copy link
Copy Markdown
Contributor

Actually I'm investigating and I'm pretty sure I can just remove it in snouty. Figuring that out now.

@carlsverre

Copy link
Copy Markdown
Contributor

removed: antithesishq/snouty#273

@notklea
notklea force-pushed the snouty-aarch64-linux branch from 102076e to 3fbfd60 Compare August 20, 2026 19:19
@ofborg ofborg Bot added the 6.topic: cross-compilation Building packages on a different platform than they will be used on label Aug 23, 2026
@notklea

notklea commented Sep 15, 2026

Copy link
Copy Markdown
Contributor Author

I guess this PR is no longer useful if it has been fixed upstream.

@notklea notklea closed this Sep 15, 2026
@notklea
notklea deleted the snouty-aarch64-linux branch September 15, 2026 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: cross-compilation Building packages on a different platform than they will be used on 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants