lix/scripts
Shea Levy 4ea034a5c5 nix-shell: Play nicely with non-interactive shells
nix-shell with the --command flag might be used non-interactively, but
if bash starts non-interactively (i.e. with stdin or stderr not a
terminal), it won't source the script given in --rcfile. However, in
that case it *will* source the script found in $BASH_ENV, so we can use
that instead.

Also, don't source ~/.bashrc in a non-interactive shell (detectable by
checking the PS1 env var)

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-18 14:34:46 +02:00
..
build-remote.pl.in build-remote.pl: Don't use substituters on the remote 2013-09-18 14:04:03 +02:00
copy-from-other-stores.pl.in
copying-collector.pl
download-from-binary-cache.pl.in Add support for uncompressed NARs in binary caches 2013-07-01 21:03:14 +02:00
download-using-manifests.pl.in Add support for uncompressed NARs in binary caches 2013-07-01 21:03:14 +02:00
find-runtime-roots.pl.in
install-nix-from-closure.sh
Makefile.am Rename ‘nix-build --run-env’ to ‘nix-shell’ 2013-07-19 12:02:44 +02:00
nix-build.in nix-shell: Play nicely with non-interactive shells 2013-10-18 14:34:46 +02:00
nix-channel.in
nix-collect-garbage.in
nix-copy-closure.in
nix-generate-patches.in
nix-http-export.cgi.in
nix-install-package.in
nix-prefetch-url.in
nix-profile.sh.in
nix-pull.in
nix-push.in Add support for uncompressed NARs in binary caches 2013-07-01 21:03:14 +02:00
nix-reduce-build.in
remove-patches.pl
show-duplication.pl