pythonPackages.xrootd: improve xrootd overriding (#289072)
Make it easier to override its pkgs.xrootd dependency. - Pass pkgs.xrootd as `xrootd` instead of `pkgs`. - Call with `inherit (pkgs) xrootd;`
This commit is contained in:
parent
3f04d960a2
commit
3d695c171d
2 changed files with 6 additions and 4 deletions
|
@ -3,14 +3,14 @@
|
|||
, cmake
|
||||
, setuptools
|
||||
, wheel
|
||||
, pkgs
|
||||
, xrootd
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "xrootd";
|
||||
pyproject = true;
|
||||
|
||||
inherit (pkgs.xrootd) version src;
|
||||
inherit (xrootd) version src;
|
||||
|
||||
sourceRoot = "${src.name}/bindings/python";
|
||||
|
||||
|
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
buildInputs = [
|
||||
pkgs.xrootd
|
||||
xrootd
|
||||
];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
|
|
@ -16419,7 +16419,9 @@ self: super: with self; {
|
|||
|
||||
xpybutil = callPackage ../development/python-modules/xpybutil { };
|
||||
|
||||
xrootd = callPackage ../development/python-modules/xrootd { };
|
||||
xrootd = callPackage ../development/python-modules/xrootd {
|
||||
inherit (pkgs) xrootd;
|
||||
};
|
||||
|
||||
xsdata = callPackage ../development/python-modules/xsdata { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue