mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +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
|
||||
|
||||
python.stdenv.mkDerivation rec {
|
||||
python.stdenv.mkDerivation (
|
||||
# Keep extra attributes from ATTR, e.g., `patchPhase', etc.
|
||||
attrs
|
||||
|
||||
//
|
||||
|
||||
(rec {
|
||||
inherit src meta patches doCheck;
|
||||
|
||||
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
|
||||
fi
|
||||
'';
|
||||
}
|
||||
}))
|
||||
|
Loading…
Reference in New Issue
Block a user