aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2021-06-23 03:11:44 -0400
committertdro <tdro@users.noreply.github.com>2021-06-23 03:11:44 -0400
commitd387acc4b7da72c8fb39321896920b7d35477bba (patch)
tree9d8f091800cf618ac9f13707b1550a2be12c738a
parent4b9cae31e59df1d3cddd31884ec6a21d87e03a43 (diff)
downloaddotfiles-d387acc4b7da72c8fb39321896920b7d35477bba.tar.gz
dotfiles-d387acc4b7da72c8fb39321896920b7d35477bba.tar.bz2
dotfiles-d387acc4b7da72c8fb39321896920b7d35477bba.zip
.local/bin/,: Use pure shell and temporary home
-rwxr-xr-x.local/bin/,3
1 files changed, 2 insertions, 1 deletions
diff --git a/.local/bin/, b/.local/bin/,
index e1ed37d..aafa5ef 100755
--- a/.local/bin/,
+++ b/.local/bin/,
@@ -30,8 +30,9 @@ attributes=$($nixLocate | while read -r attribute; do
done)
attribute=$(printf '%s' "$attributes" | fzf)
-nix-shell --packages "$attribute" --command \
+nix-shell --pure --keep TERMINFO_DIRS --packages "$attribute" --command \
'
+ export HOME=$(mktemp --directory --suffix -nix-shell-tmp-home)
printf "\n";
ls $buildInputs/bin;
printf "\n";