ci: run nix dynamic build test with DIRENV_DEVSHELL=dynamic

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-07-14 02:07:07 -04:00
parent e2280aa1a5
commit bda44b16b1

View file

@ -184,6 +184,10 @@ cargo test \
name = "nix-default" name = "nix-default"
group = "tests" group = "tests"
script = """ script = """
env DIRENV_DEVSHELL=dynamic \
direnv exec . \
bin/nix-build-and-cache just .#default bin/nix-build-and-cache just .#default
env DIRENV_DEVSHELL=dynamic \
direnv exec . \
nix run -L .#default -- --help nix run -L .#default -- --help
""" """