forked from mirrors/nixpkgs
pythonPackages.bootstrapped-pip: do not assume pip has a postPatch field
This was breaking poetry2nix which passed `pip` without any `postPatch` field, presumbly from a `poetry.lock`-induced dependency tree.
This commit is contained in:
parent
c9f537cf9b
commit
e3aea0cfba
|
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
postPatch = ''
|
||||
mkdir -p $out/bin
|
||||
'' + pip.postPatch;
|
||||
'' + (pip.postPatch or ""); # `pip` does not necessarily have a `postPatch` field.
|
||||
|
||||
nativeBuildInputs = [ makeWrapper unzip ];
|
||||
buildInputs = [ python ];
|
||||
|
|
Loading…
Reference in a new issue