Merge pull request #223439 from mjlbach/fix/garage
garage: fix missing stateVersion and default pkg
This commit is contained in:
commit
6fcf40805a
@ -60,7 +60,7 @@ in
|
||||
|
||||
package = mkOption {
|
||||
# TODO: when 23.05 is released and if Garage 0.9 is the default, put a stateVersion check.
|
||||
default = if versionAtLeast stateVersion "23.05" then pkgs.garage_0_8_0
|
||||
default = if versionAtLeast config.system.stateVersion "23.05" then pkgs.garage_0_8
|
||||
else pkgs.garage_0_7;
|
||||
defaultText = literalExpression "pkgs.garage_0_7";
|
||||
type = types.package;
|
||||
|
Loading…
Reference in New Issue
Block a user