Skip to content

emacs: respect native compilation errors by default#343388

Merged
jian-lin merged 1 commit intoNixOS:stagingfrom
linj-fork:pr/respect-native-comp-error
Sep 21, 2024
Merged

emacs: respect native compilation errors by default#343388
jian-lin merged 1 commit intoNixOS:stagingfrom
linj-fork:pr/respect-native-comp-error

Conversation

@jian-lin
Copy link
Contributor

In other words, native compilation errors make nix build fail by default now.

According to the staging matrix room, the next staging cycle will starts soon. Let's make sure this PR is contained in that cycle. This PR causes about 300 build failures and I have fixes ready locally. I have sent some of those fixes. For the remaining fixes, I just need to do some cleanup before sending them. I think it is a good idea to merge this now and send fixes to staging-next later.

part of: #335442

Description of changes

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • 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/)
  • 24.11 Release Notes (or backporting 23.11 and 24.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.

In other words, native compilation errors make nix build fail by
default now.
@github-actions github-actions bot added the 6.topic: emacs Text editor label Sep 21, 2024
@jian-lin jian-lin merged commit f544ee8 into NixOS:staging Sep 21, 2024
@jian-lin jian-lin deleted the pr/respect-native-comp-error branch September 21, 2024 01:16
@ofborg ofborg bot added 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. labels Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: emacs Text editor 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants