Skip to content

writeShellApplication: fix shellcheck availability check#362868

Merged
philiptaron merged 1 commit intoNixOS:masterfrom
misuzu:shellcheck-eval-riscv64-fix
Dec 8, 2024
Merged

writeShellApplication: fix shellcheck availability check#362868
philiptaron merged 1 commit intoNixOS:masterfrom
misuzu:shellcheck-eval-riscv64-fix

Conversation

@misuzu
Copy link
Copy Markdown
Contributor

@misuzu misuzu commented Dec 7, 2024

This fixes NixOS evaluation for native riscv64-linux.
Closes: #231537

Things done

  • Evaluated on platform(s)
    • x86_64-linux
    • riscv64-linux
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@nix-owners nix-owners bot requested a review from philiptaron December 7, 2024 16:53
@misuzu misuzu requested a review from sternenseemann December 7, 2024 16:58
@github-actions github-actions bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Dec 7, 2024
This fixes NixOS evaluation for native riscv64-linux
@misuzu misuzu force-pushed the shellcheck-eval-riscv64-fix branch from 75d31e7 to 83e3724 Compare December 7, 2024 21:07
@misuzu misuzu requested a review from sternenseemann December 7, 2024 21:40
@philiptaron philiptaron merged commit 5e05851 into NixOS:master Dec 8, 2024
@misuzu misuzu deleted the shellcheck-eval-riscv64-fix branch December 9, 2024 19:15
@RossComputerGuy
Copy link
Copy Markdown
Member

I still get the error with this PR applied.

@sternenseemann
Copy link
Copy Markdown
Member

@RossComputerGuy Can you post the backtrace? I do remember testing this…

@RossComputerGuy
Copy link
Copy Markdown
Member

Not right now but later I can. When I was testing this, I was using nixos-unstable but I moved to master and the error is gone. According to the nix flake update, it's only 3 days apart from each other so I'm not sure why it wasn't working. I can see this PR's changes in the unstable branch and the PR tracker says it's fully through the pipeline.

@nixos-discourse
Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/cannot-run-docker-container-as-systemd-service-on-risc-v/59483/2

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

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

native riscv64-linux: error: cannot bootstrap GHC on this platform ('riscv64-linux' with libc 'defaultLibc')

5 participants