mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
test_gc: correct use of use_nix --arg
This commit is contained in:
parent
db0e37ea65
commit
05a6325387
1 changed files with 3 additions and 1 deletions
|
|
@ -64,7 +64,9 @@ def test_use_nix(direnv_project: DirenvProject) -> None:
|
|||
direnv_project.setup_envrc("use nix")
|
||||
common_test(direnv_project)
|
||||
|
||||
direnv_project.setup_envrc("use nix --argstr 'echo Executing hijacked shellHook.'")
|
||||
direnv_project.setup_envrc(
|
||||
"use nix --argstr shellHook 'echo Executing hijacked shellHook.'"
|
||||
)
|
||||
common_test_clean(direnv_project)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue