mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
userborn: run the nixos tests whenever the package gets updated
This commit is contained in:
parent
a46a1555b8
commit
fc0d63ba27
@ -4,6 +4,7 @@
|
||||
fetchFromGitHub,
|
||||
makeBinaryWrapper,
|
||||
mkpasswd,
|
||||
nixosTests,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -33,6 +34,18 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
stripAllList = [ "bin" ];
|
||||
|
||||
passthru = {
|
||||
tests = {
|
||||
inherit (nixosTests)
|
||||
userborn
|
||||
userborn-mutable-users
|
||||
userborn-mutable-etc
|
||||
userborn-immutable-users
|
||||
userborn-immutable-etc
|
||||
;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/nikstur/userborn";
|
||||
description = "Declaratively bear (manage) Linux users and groups";
|
||||
|
Loading…
Reference in New Issue
Block a user