aboutsummaryrefslogtreecommitdiff
path: root/tests/restricted.sh
diff options
context:
space:
mode:
authorAlbert Safin <xzfcpw@gmail.com>2020-01-17 06:44:00 +0000
committerAlbert Safin <xzfcpw@gmail.com>2020-02-19 14:28:49 +0000
commitf2a03acf3f42140f40fa5141b2b6ea94a554df64 (patch)
tree052d7b56d18eb8c1cac285df24bbd919ca04d252 /tests/restricted.sh
parent8b09105db3869284ee7892f82155dda79f98d6e6 (diff)
nix-shell: clean up the tmpDir and escape variables
The problem fixed: each nix-shell invocation creates a new temporary directory (`/tmp/nix-shell-*`) and never cleans up. And while I'm here, shellescape all variables inlined into the rcfile. See what might happen without escaping: $ export TZ="';echo pwned'" $ nix-shell -p hello --run hello pwned Hello, world!
Diffstat (limited to 'tests/restricted.sh')
0 files changed, 0 insertions, 0 deletions