summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/lib.ps14
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/lib.ps1 b/tests/lib/lib.ps1
index c9e9267..006eefe 100644
--- a/tests/lib/lib.ps1
+++ b/tests/lib/lib.ps1
@@ -88,6 +88,8 @@ class DockerDistro : Distro {
if ($LASTEXITCODE -ne 0) {
throw "Failed to launch container"
}
+
+ $this.Launch("sudo nix-channel --update")
}
[Array]Launch([string]$command) {
@@ -132,6 +134,8 @@ class WslDistro : Distro {
throw "Failed to import distro"
}
& wsl.exe --list | Should -Contain $this.id
+
+ $this.Launch("sudo nix-channel --update")
}
[Array]Launch([string]$command) {