Skip to content

Commit a8c97ad

Browse files
infinisiljoachifm
authored andcommittedSep 25, 2017
nixos/radicale: fix default version (#29743)
1 parent f8078db commit a8c97ad

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎nixos/modules/services/networking/radicale.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ let
99
confFile = pkgs.writeText "radicale.conf" cfg.config;
1010

1111
# This enables us to default to version 2 while still not breaking configurations of people with version 1
12-
defaultPackage = if versionAtLeast "17.09" config.system.stateVersion then {
12+
defaultPackage = if versionAtLeast config.system.stateVersion "17.09" then {
1313
pkg = pkgs.radicale2;
1414
text = "pkgs.radicale2";
1515
} else {

‎nixos/tests/radicale.nix

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ in
4343
});
4444
})
4545
];
46+
system.stateVersion = "17.03";
4647
};
4748
radicale1_export = lib.recursiveUpdate radicale1 {
4849
services.radicale.extraArgs = [

0 commit comments

Comments
 (0)
Please sign in to comment.