mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
Merge pull request #223439 from mjlbach/fix/garage
garage: fix missing stateVersion and default pkg
This commit is contained in:
commit
6fcf40805a
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue