Skip to content

Comments

kmod: add patch to correct behaviour with --field#96153

Merged
lheckemann merged 1 commit intoNixOS:stagingfrom
xaverdh:kmod-name-field-patch-for-staging
Aug 28, 2020
Merged

kmod: add patch to correct behaviour with --field#96153
lheckemann merged 1 commit intoNixOS:stagingfrom
xaverdh:kmod-name-field-patch-for-staging

Conversation

@xaverdh
Copy link
Contributor

@xaverdh xaverdh commented Aug 24, 2020

#96123 targeted at staging


This came up in #96008.
Without this patch modinfo always prints the module name for builtin
modules, even if an explicit --field is passed.

(I also posted this patch upstream, waiting for feedback there)

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

This came up in NixOS#96008.
Without this patch modinfo always prints the module name for builtin
modules, even if an explicit --field is passed.
@ofborg ofborg bot added 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 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 Aug 24, 2020
@lheckemann
Copy link
Member

@lheckemann lheckemann merged commit 4f4d0ca into NixOS:staging Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 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

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants