Skip to content
Commit 78b01de6 authored by Eelco Dolstra's avatar Eelco Dolstra
Browse files

substituteAll: Enumerate environment variables more reliably

Getting the names of all environment variables is tricky. The previous
implementation easily got confused by multi-line variables. The new
one is more reliable but not still not perfect.

This works around a segfault in Bash 4.3, where the expression
"${!var}" (where var="-9") crashes under certain conditions.

http://hydra.nixos.org/build/16693445
parent 103f5658
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment