mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +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,
|
fetchFromGitHub,
|
||||||
makeBinaryWrapper,
|
makeBinaryWrapper,
|
||||||
mkpasswd,
|
mkpasswd,
|
||||||
|
nixosTests,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -33,6 +34,18 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
stripAllList = [ "bin" ];
|
stripAllList = [ "bin" ];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
tests = {
|
||||||
|
inherit (nixosTests)
|
||||||
|
userborn
|
||||||
|
userborn-mutable-users
|
||||||
|
userborn-mutable-etc
|
||||||
|
userborn-immutable-users
|
||||||
|
userborn-immutable-etc
|
||||||
|
;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/nikstur/userborn";
|
homepage = "https://github.com/nikstur/userborn";
|
||||||
description = "Declaratively bear (manage) Linux users and groups";
|
description = "Declaratively bear (manage) Linux users and groups";
|
||||||
|
Loading…
Reference in New Issue
Block a user