Skip to content

libudev-zero: init at 1.0.0#147950

Merged
alyssais merged 1 commit intoNixOS:masterfrom
alyssais:libudev-zero
Dec 3, 2021
Merged

libudev-zero: init at 1.0.0#147950
alyssais merged 1 commit intoNixOS:masterfrom
alyssais:libudev-zero

Conversation

@alyssais
Copy link
Member

libudev-zero is a daemonless reimplementation of udev, that is of additional interest to us in Nixpkgs because (currently with a small upstreamable build system patch) it's possible to build it statically, which systemd's udev is unlikely to support in the near future1.

In future, it might be good to default to using libudev-zero in pkgsStatic, but for now let's just introduce the package, so people doing static builds can at least use it themselves using overrides or overlays.

@SCOTT-HAMILTON, I've added you as a maintainer here because of #136107 — if you'd rather not be, just say.

Motivation for this change
Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • 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/)
  • 21.11 Release Notes (or backporting 21.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
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

libudev-zero is a daemonless reimplementation of udev, that is of
additional interest to us in Nixpkgs because (currently with a small
upstreamable build system patch) it's possible to build it statically,
which systemd's udev is unlikely to support in the near future[1].

In future, it might be good to default to using libudev-zero in
pkgsStatic, but for now let's just introduce the package, so people
doing static builds can at least use it themselves using overrides or
overlays.

[1]: systemd/systemd#20621 (comment)
@alyssais alyssais added the 6.topic: static Static builds (e.g. pkgsStatic) label Nov 29, 2021
@ofborg ofborg bot added the 8.has: package (new) This PR adds a new package label Nov 29, 2021
@ofborg ofborg bot requested a review from SCOTT-HAMILTON November 29, 2021 23:49
@ofborg ofborg bot added 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 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. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Nov 29, 2021
@SCOTT-HAMILTON
Copy link
Contributor

LGTM

@alyssais alyssais merged commit a3f918d into NixOS:master Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: static Static builds (e.g. pkgsStatic) 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. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants