Skip to content

emacs: let nix build for manualPackages fail if native-comp fails#335440

Merged
jian-lin merged 4 commits intoNixOS:masterfrom
linj-fork:pr/emacs-manualPackages-resepct-compilation-error
Aug 22, 2024
Merged

emacs: let nix build for manualPackages fail if native-comp fails#335440
jian-lin merged 4 commits intoNixOS:masterfrom
linj-fork:pr/emacs-manualPackages-resepct-compilation-error

Conversation

@jian-lin
Copy link
Contributor

@jian-lin jian-lin commented Aug 17, 2024

Description of changes

The first and easy part of #335442.

This helps find packaging issues or issues in the package itself.

During the process, some issues are found:

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.

@jian-lin jian-lin requested a review from adisbladis as a code owner August 17, 2024 19:05
@github-actions github-actions bot added the 6.topic: emacs Text editor label Aug 17, 2024
It is deprecated in favor of emacsPackages.ement and there is error in
its native compilation.
This helps find packaging issues or issues in the package itself.
@jian-lin jian-lin force-pushed the pr/emacs-manualPackages-resepct-compilation-error branch from b7701fb to 2421239 Compare August 17, 2024 19:09
@ofborg ofborg bot added 8.has: clean-up This PR removes packages or removes other cruft 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Aug 17, 2024
@jian-lin
Copy link
Contributor Author

jian-lin commented Aug 17, 2024

Result of nixpkgs-review pr 335440 run on x86_64-linux 1

44 packages built:
  • emacsPackages.acm
  • emacsPackages.acm-terminal
  • emacsPackages.agda2-mode
  • emacsPackages.codeium
  • emacsPackages.control-lock
  • emacsPackages.copilot
  • emacsPackages.ebuild-mode
  • emacsPackages.el-easydraw
  • emacsPackages.elisp-ffi
  • emacsPackages.emacs-conflict
  • emacsPackages.evil-markdown
  • emacsPackages.font-lock-plus
  • emacsPackages.git-undo
  • emacsPackages.grid
  • emacsPackages.helm-words
  • emacsPackages.hsc3-mode
  • emacsPackages.icicles
  • emacsPackages.idris2-mode
  • emacsPackages.isearch-plus
  • emacsPackages.isearch-prop
  • emacsPackages.jam-mode
  • emacsPackages.ligo-mode
  • emacsPackages.llvm-mode
  • emacsPackages.lsp-bridge
  • emacsPackages.lspce
  • emacsPackages.mu4e
  • emacsPackages.notdeft
  • emacsPackages.ott-mode
  • emacsPackages.pod-mode
  • emacsPackages.pod-mode.doc
  • emacsPackages.prisma-mode
  • emacsPackages.prolog-mode
  • emacsPackages.pygn-mode
  • emacsPackages.rectMark (emacsPackages.rect-mark)
  • emacsPackages.sunriseCommander (emacsPackages.sunrise-commander)
  • emacsPackages.sv-kalender
  • emacsPackages.texpresso
  • emacsPackages.tree-sitter-ess-r
  • emacsPackages.tree-sitter-langs
  • emacsPackages.urweb-mode
  • emacsPackages.voicemacs
  • emacsPackages.wat-mode
  • emacsPackages.yes-no
  • emacsPackages.youtube-dl

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a pretty safe PR because it does not break packages.

Two things worth discussion are

WDYT?

@jian-lin jian-lin merged commit 90f1516 into NixOS:master Aug 22, 2024
@jian-lin jian-lin deleted the pr/emacs-manualPackages-resepct-compilation-error branch August 22, 2024 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: emacs Text editor 8.has: clean-up This PR removes packages or removes other cruft 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant