Skip to content
Snippets Groups Projects
Commit b1cfe8f9 authored by Eelco Dolstra's avatar Eelco Dolstra
Browse files

nix develop: Add a test for arrays

parent d2b8b23a
No related branches found
No related tags found
No related merge requests found
......@@ -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" ]]
......@@ -20,6 +20,7 @@ let pkgs = rec {
for pkg in $buildInputs; do
export PATH=$PATH:$pkg/bin
done
declare -a arr1=(1 2 "3 4" 5)
'';
stdenv = mkDerivation {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment