3
0
Fork 0
forked from mirrors/nixpkgs

pypi2nix: fix $IN_NIX_SHELL test

In nix 2.0 this changed: https://github.com/NixOS/nix/commit/1bffd83
I only kept the original intention and did no kind of verification.
This commit is contained in:
Vladimír Čunát 2019-05-09 09:58:35 +02:00
parent b27cc37671
commit 99760ed95b
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -43,7 +43,7 @@ in stdenv.mkDerivation rec {
mv click-*/click $out/pkgs/click
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