mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
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
@ -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 New Issue
Block a user