Skip to content

Conversation

@yshui
Copy link
Contributor

@yshui yshui commented Dec 23, 2023

Other kernels have their kernel at top level, but zen's are missing.

Description of changes

Add linux_zen and linux_lqx kernels to top level.

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.05 Release Notes (or backporting 23.05 and 23.11 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.

Copy link
Member

Choose a reason for hiding this comment

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

I'd prefer to keep it in line with the other entries.

Suggested change
linux_zen = linuxPackages_zen.kernel;
linux_zen = linuxKernel.kernels.linux_zen

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's pretty inconsistent, the other kernels have a mix of both.

@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Dec 23, 2023
Copy link
Member

@Atemu Atemu left a comment

Choose a reason for hiding this comment

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

Please follow the commit message guidelines in CONTRIBUTING.md.

@yshui
Copy link
Contributor Author

yshui commented Jan 12, 2024

@Atemu hi, is the updated commit message ok now?

@Atemu
Copy link
Member

Atemu commented Jan 12, 2024

Hi, please read https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#commit-conventions

Your message should look something like this: linux_zen, linux_lqx: add missing top-level attributes

Other kernels have their kernel at top level, but zen's are missing.
@yshui
Copy link
Contributor Author

yshui commented Jan 12, 2024

@Atemu fixed, thanks.

@Atemu Atemu changed the title Add missing linux_zen and linux_lqx linux_zen, linux_lqx: add missing top-level attributes Jan 12, 2024
@github-actions
Copy link
Contributor

Successfully created backport PR for release-23.11:

@github-actions
Copy link
Contributor

Git push to origin failed for release-23.11 with exitcode 1

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

Labels

8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants