Skip to content

Commit

Permalink
nixos/radicale: fix default version (#29743)
Browse files Browse the repository at this point in the history
  • Loading branch information
infinisil authored and joachifm committed Sep 25, 2017
1 parent f8078db commit a8c97ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/radicale.nix
Expand Up @@ -9,7 +9,7 @@ let
confFile = pkgs.writeText "radicale.conf" cfg.config;

# This enables us to default to version 2 while still not breaking configurations of people with version 1
defaultPackage = if versionAtLeast "17.09" config.system.stateVersion then {
defaultPackage = if versionAtLeast config.system.stateVersion "17.09" then {
pkg = pkgs.radicale2;
text = "pkgs.radicale2";
} else {
Expand Down
1 change: 1 addition & 0 deletions nixos/tests/radicale.nix
Expand Up @@ -43,6 +43,7 @@ in
});
})
];
system.stateVersion = "17.03";
};
radicale1_export = lib.recursiveUpdate radicale1 {
services.radicale.extraArgs = [
Expand Down

0 comments on commit a8c97ad

Please sign in to comment.