-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
utillinux: rename to util-linux #104776
utillinux: rename to util-linux #104776
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can confirm, i fell over a trace
when upgrading to 20.09 which stated i should use util-linux
package instead
I'm not sure this large patch should cleanup whitespace for the files which are already messy. Opinions? |
If we keep the changes to minimum we maybe can skip staging and go straight to master. With whitespace fixes we could cause a lot of rebuilds if they are in the wrong places. |
@@ -642,6 +642,7 @@ mapAliases ({ | |||
unicorn-emu = unicorn; # added 2020-10-29 | |||
usb_modeswitch = usb-modeswitch; # added 2016-05-10 | |||
usbguard-nox = usbguard; # added 2019-09-04 | |||
utillinux = util-linux; # added 2020-11-24 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I love this. utillinux
made me stumble first time I explicitly requested the package somewhere in my configuration, because I totally expected it to be util-linux
, since dashes were always OK in attribute sets (unlike e.g. Python or JS where you could get in trouble with that kind of syntax)
since dashes were always OK in attribute sets
Naturally, util-linux is one of those packages that is older than support for dashes in attribute names in Nix.
|
Just pushed a fixup addressing:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like rebuilds are from changing comments inside of code blocks
https://github.com/NixOS/nixpkgs/pull/104776
2 packages blacklisted:
tests.nixos-functions.nixos-test tests.nixos-functions.nixosTest-test
4 packages built:
lxcfs unixtools.util-linux util-linux util-linuxMinimal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
alleyoop |
Hm. Wish this would have included aliases for the other utillinux variants e.g. utillinuxMinimal. |
There is still time to rename those 😃
…On Fri, Jan 8, 2021, at 7:29 PM, Will Fancher wrote:
Hm. Wish this would have included aliases for the other utillinux variants e.g. utillinuxMinimal.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub <#104776 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAASXLHAVUB447C2OEESU23SY6PNVANCNFSM4UBBHO2A>.
|
Motivation for this change
Having the pname not match the attribute name in this case, when the pname is the project's actual name causes me quite a lot of headache.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)