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:
parent
b27cc37671
commit
99760ed95b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue