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

Add test for #4992

parent 5f6375a8
No related merge requests found
......@@ -99,3 +99,5 @@ nix_develop -f shell.nix shellDrv -c echo foo |& grep -q foo
source <(nix print-dev-env -f shell.nix shellDrv)
[[ -n $stdenv ]]
[[ ${arr1[2]} = "3 4" ]]
[[ ${arr2[1]} = $'\n' ]]
[[ ${arr2[2]} = $'x\ny' ]]
......@@ -21,6 +21,7 @@ let pkgs = rec {
export PATH=$PATH:$pkg/bin
done
declare -a arr1=(1 2 "3 4" 5)
declare -a arr2=(x $'\n' $'x\ny')
'';
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