1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 15:13:55 +02:00

nix develop: Add a test for arrays

This commit is contained in:
Eelco Dolstra 2021-07-08 17:12:01 +02:00
parent d2b8b23ae9
commit b1cfe8f984
2 changed files with 2 additions and 0 deletions

View file

@ -98,3 +98,4 @@ nix_develop -f shell.nix shellDrv -c echo foo |& grep -q foo
# Test 'nix print-dev-env'.
source <(nix print-dev-env -f shell.nix shellDrv)
[[ -n $stdenv ]]
[[ ${arr1[2]} = "3 4" ]]