treewide: change $IN_NIX_SHELL handling
... to be compatible with https://github.com/NixOS/nix/pull/933 while not breaking compatibility with current nix.
This commit is contained in:
@@ -36,7 +36,7 @@ in stdenv.mkDerivation rec {
|
||||
# mv effect-*/effect $out/pkgs/effect
|
||||
mv requests-*/requests $out/pkgs/
|
||||
|
||||
if [ "$IN_NIX_SHELL" != "1" ]; then
|
||||
if [ -z "$IN_NIX_SHELL" ]; then
|
||||
if [ -e git-export ]; then
|
||||
mv git-export/src/pypi2nix $out/pkgs/pypi2nix
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user