0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 14:10:33 +03:00

netbox_4_2: init (#376100)

This commit is contained in:
Sandro 2025-03-07 20:31:48 +01:00 committed by GitHub
commit 48ecb73067
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 16 additions and 92 deletions

View file

@ -102,7 +102,9 @@ in
package = lib.mkOption {
type = lib.types.package;
default =
if lib.versionAtLeast config.system.stateVersion "24.11" then
if lib.versionAtLeast config.system.stateVersion "25.05" then
pkgs.netbox_4_2
else if lib.versionAtLeast config.system.stateVersion "24.11" then
pkgs.netbox_4_1
else if lib.versionAtLeast config.system.stateVersion "24.05" then
pkgs.netbox_3_7

View file

@ -736,8 +736,8 @@ in {
networking.networkmanager = handleTest ./networking/networkmanager.nix {};
netbox_3_6 = handleTest ./web-apps/netbox.nix { netbox = pkgs.netbox_3_6; };
netbox_3_7 = handleTest ./web-apps/netbox.nix { netbox = pkgs.netbox_3_7; };
netbox_4_0 = handleTest ./web-apps/netbox.nix { netbox = pkgs.netbox_4_0; };
netbox_4_1 = handleTest ./web-apps/netbox.nix { netbox = pkgs.netbox_4_1; };
netbox_4_2 = handleTest ./web-apps/netbox.nix { netbox = pkgs.netbox_4_2; };
netbox-upgrade = handleTest ./web-apps/netbox-upgrade.nix {};
# TODO: put in networking.nix after the test becomes more complete
networkingProxy = handleTest ./networking-proxy.nix {};