3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #205909 from NixOS/fix-bootstrapped-pip-post-patch

This commit is contained in:
Artturi 2022-12-20 18:09:21 +02:00 committed by GitHub
commit 997d9f10ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ];