mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-13 00:04:46 +07:00
test(tools): use pure Nix shell
More closely corresponds to the “real” Nix build
This commit is contained in:
parent
4f6baed675
commit
7a50009c46
@ -61,6 +61,7 @@ func TestToolsContainer(t *testing.T) {
|
|||||||
},
|
},
|
||||||
Command: []string{
|
Command: []string{
|
||||||
"nix-shell",
|
"nix-shell",
|
||||||
|
"--pure",
|
||||||
"--command", "exit",
|
"--command", "exit",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
@ -79,8 +80,8 @@ func TestToolsNixShell(t *testing.T) {
|
|||||||
command := shell.Command{
|
command := shell.Command{
|
||||||
Command: "nix-shell",
|
Command: "nix-shell",
|
||||||
Args: []string{
|
Args: []string{
|
||||||
"--command",
|
"--pure",
|
||||||
"exit",
|
"--command", "exit",
|
||||||
},
|
},
|
||||||
WorkingDir: projectRoot,
|
WorkingDir: projectRoot,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user