mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
buildPythonPackage: Inherit extra attributes from its argument.
svn path=/nixpkgs/trunk/; revision=16080
This commit is contained in:
parent
705205340b
commit
a84297a6e3
@ -20,7 +20,13 @@ let
|
|||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
python.stdenv.mkDerivation rec {
|
python.stdenv.mkDerivation (
|
||||||
|
# Keep extra attributes from ATTR, e.g., `patchPhase', etc.
|
||||||
|
attrs
|
||||||
|
|
||||||
|
//
|
||||||
|
|
||||||
|
(rec {
|
||||||
inherit src meta patches doCheck;
|
inherit src meta patches doCheck;
|
||||||
|
|
||||||
name = namePrefix + attrs.name;
|
name = namePrefix + attrs.name;
|
||||||
@ -74,4 +80,4 @@ python.stdenv.mkDerivation rec {
|
|||||||
ln -s $out/nix-support/propagated-build-inputs $out/nix-support/propagated-user-env-packages
|
ln -s $out/nix-support/propagated-build-inputs $out/nix-support/propagated-user-env-packages
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
}
|
}))
|
||||||
|
Loading…
Reference in New Issue
Block a user