mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 12:53:54 +00:00
nagios: add passthru.updateScript
This commit is contained in:
parent
970efe216b
commit
2a3cea1658
@ -8,6 +8,7 @@
|
||||
, zlib
|
||||
, unzip
|
||||
, nixosTests
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -45,8 +46,13 @@ stdenv.mkDerivation rec {
|
||||
sed -i 's@/bin/@@g' $out/etc/objects/commands.cfg
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests) nagios;
|
||||
passthru = {
|
||||
tests = {
|
||||
inherit (nixosTests) nagios;
|
||||
};
|
||||
updateScript = nix-update-script {
|
||||
extraArgs = [ "--version-regex" "nagios-(.*)" ];
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user