test(tools): use pure Nix shell

More closely corresponds to the “real” Nix build
This commit is contained in:
Khue Doan 2022-10-03 11:49:14 +07:00
parent 4f6baed675
commit 7a50009c46

View File

@ -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,
}