1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 09:31:16 +02:00
No description
Find a file
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
config Add config.guess, config.sub and install-sh 2013-11-25 11:26:02 +00:00
corepkgs <nix/buildenv.nix>: Don't substitute 2016-01-18 15:06:36 +01:00
doc fix "nix-build" examples 2017-01-03 16:38:48 +01:00
misc launchd: Set $SSL_CERT_FILE 2016-08-19 13:11:03 +02:00
mk Don't pass "--no-copy-dt-needed-entries" option to linker on FreeBSD. 2015-10-06 22:28:30 +02:00
perl Fix bad use of croak() 2016-01-07 14:33:13 +01:00
scripts nix-shell: Fix 'nix-shell --command' doing nothing without TTY 2017-01-07 19:36:45 +02:00
src override rx directory permissions in deletePath() 2016-12-19 14:28:57 +01:00
tests Fix nix-copy-closure test on 16.03 2016-09-06 12:59:48 +02:00
.gitignore Add exe, dll to .gitignore 2014-12-15 23:34:13 +08:00
bootstrap.sh bootstrap: Simplify & make more robust. 2011-09-06 12:11:05 +00:00
configure.ac Revert "Do not override environment CFLAGS and CXXFLAGS" 2016-01-12 13:51:38 +01:00
COPYING * Change this to LGPL to keep the government happy. 2006-04-25 16:41:06 +00:00
dev-shell Make dev-shell script work on Darwin 2014-07-16 11:53:47 +02:00
INSTALL * Autoconf / Automake configuration and building. 2003-04-04 16:14:56 +00:00
local.mk Don't depend on git when generating source tarball 2015-10-15 11:53:45 -07:00
Makefile nix-prefetch-url: Rewrite in C++ 2015-10-01 16:47:43 +02:00
Makefile.config.in Merge pull request #704 from ysangkok/freebsd-support 2015-11-24 19:24:21 +01:00
nix.spec.in Update nix.spec.in 2015-08-24 22:25:24 -07:00
README * Install documentation in $(docdir) (i.e. share/doc/nix). 2008-11-19 13:19:09 +00:00
release.nix Fix Debian 8 build 2016-09-06 13:12:53 +02:00
version Bump version number 2017-01-02 15:18:50 +01:00

Nix is a purely functional package manager.  For installation and
usage instructions, please read the manual, which can be found in
`docs/manual/manual.html', and additionally at the Nix website at
<http://nixos.org/>.


Acknowledgments

This product includes software developed by the OpenSSL Project for
use in the OpenSSL Toolkit (http://www.OpenSSL.org/).