nix-gh/scripts
Tuomas Tynkkynen a4ad1ffa25 nix-shell: Fix 'nix-shell --command' doing nothing without TTY
Regression from 8bddc3d4 ("Fix early removal of rc-file for nix-shell").
The removal of BASH_ENV causes nothing to be executed by bash if it
detects itself in a non-interactive context. Instead, just
use the same condition used by bash to launch bash differently.

According to bash sources, the condition (stdin and stder both
must be TTYs) is specified by POSIX so this should be pretty
safe to rely on.

Fixes #1171 on 1.11.
2017-01-07 19:36:45 +02:00
..
build-remote.pl.in nix-copy-closure: Add -v flag 2015-07-20 01:52:07 +02:00
copy-from-other-stores.pl.in copy-from-other-stores: Use cp 2015-06-04 14:55:40 +02:00
download-from-binary-cache.pl.in Verify TLS certificate before downloading binaries 2016-01-05 14:19:46 +01:00
download-using-manifests.pl.in Verify TLS certificate before downloading binaries 2016-01-05 14:19:46 +01:00
find-runtime-roots.pl.in Revert "Scan /proc/<pid>/cmdline for GC roots" 2013-12-20 14:18:24 +01:00
install-nix-from-closure.sh Check shell profile is writeable before modifying 2016-02-10 12:04:47 +01:00
local.mk Add resolve-system-dependencies.pl 2015-10-21 12:38:52 -07:00
nix-build.in nix-shell: Fix 'nix-shell --command' doing nothing without TTY 2017-01-07 19:36:45 +02:00
nix-channel.in Drop newline in error message 2015-08-07 05:32:17 +02:00
nix-copy-closure.in Fix bad characters in "copying 7 missing paths from ..." 2015-11-10 16:12:26 +01:00
nix-generate-patches.in Use $XDG_RUNTIME_DIR for temporary files 2014-08-13 23:12:57 +02:00
nix-http-export.cgi.in Replace wrong (w.r.t. PATH) sed call with in-shell substitution 2009-02-19 20:46:45 +00:00
nix-install-package.in nix-install-package: follow symlinks 2015-01-30 11:30:21 +01:00
nix-profile.sh.in Revert "add the manpath to the installer" 2015-07-01 13:04:15 +02:00
nix-pull.in Shut up "Wide character" warnings in Perl scripts 2014-08-29 17:48:25 +02:00
nix-push.in nix-push: Support -j 2015-06-08 14:16:06 +02:00
nix-reduce-build.in Add support for ‘make installcheck’ 2013-11-25 18:47:03 +01:00
resolve-system-dependencies.pl.in reintroduce host deps in tandem with sandbox profiles 2015-11-21 15:57:06 -08:00
show-duplication.pl * `show-duplication.pl', a small utility that shows the amount of 2006-09-19 13:53:35 +00:00