mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-22 21:24:52 +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{
|
||||
"nix-shell",
|
||||
"--pure",
|
||||
"--command", "exit",
|
||||
},
|
||||
}
|
||||
@ -79,8 +80,8 @@ func TestToolsNixShell(t *testing.T) {
|
||||
command := shell.Command{
|
||||
Command: "nix-shell",
|
||||
Args: []string{
|
||||
"--command",
|
||||
"exit",
|
||||
"--pure",
|
||||
"--command", "exit",
|
||||
},
|
||||
WorkingDir: projectRoot,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user