mirror of
https://github.com/khuedoan/homelab.git
synced 2025-07-13 17:29:02 +07:00
test(tools): use pure Nix shell
More closely corresponds to the “real” Nix build
This commit is contained in:
@ -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,
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user