diff options
author | Aneesh Agrawal <aneeshusa@gmail.com> | 2017-02-11 15:28:38 -0500 |
---|---|---|
committer | Aneesh Agrawal <aneeshusa@gmail.com> | 2017-04-10 20:04:17 -0400 |
commit | a3143b18e00f18a7fff1cb6181d4feaeffd24142 (patch) | |
tree | a7e0c3d295376944781ab7d3ee83544162810c18 /nixos/tests/radicale.nix | |
parent | 9821f82d7cff4bd56b6b4156628b6ed6adf4fc1f (diff) | |
download | nixpkgs-a3143b18e00f18a7fff1cb6181d4feaeffd24142.tar nixpkgs-a3143b18e00f18a7fff1cb6181d4feaeffd24142.tar.gz nixpkgs-a3143b18e00f18a7fff1cb6181d4feaeffd24142.tar.bz2 nixpkgs-a3143b18e00f18a7fff1cb6181d4feaeffd24142.tar.lz nixpkgs-a3143b18e00f18a7fff1cb6181d4feaeffd24142.tar.xz nixpkgs-a3143b18e00f18a7fff1cb6181d4feaeffd24142.tar.zst nixpkgs-a3143b18e00f18a7fff1cb6181d4feaeffd24142.zip |
radicale: Also run NixOS test on Python 3
Diffstat (limited to 'nixos/tests/radicale.nix')
-rw-r--r-- | nixos/tests/radicale.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/nixos/tests/radicale.nix b/nixos/tests/radicale.nix index ea834d2768d..f0d46d48a75 100644 --- a/nixos/tests/radicale.nix +++ b/nixos/tests/radicale.nix @@ -58,10 +58,19 @@ in import ./make-test.nix { radicaleOverlay ]; }; + py3 = { config, pkgs, ... }@args: (common args) // { + nixpkgs.overlays = [ + (self: super: { + python = self.python3; + pythonPackages = self.python3.pkgs; + }) + radicaleOverlay + ]; + }; }; testScript = '' - for my $machine ($py2) { + for my $machine ($py2, $py3) { $machine->waitForUnit('radicale.service'); $machine->waitForOpenPort(${builtins.toString port}); $machine->succeed('curl -s http://someuser:really_secret_password@127.0.0.1:${builtins.toString port}/someuser/calendar.ics/'); |