python3.pkgs.pyudev: use lib.getLib systemd instead of systemd.lib
This will pick the `lib` output if it exists, otherwise default to `out`.
This commit is contained in:
parent
77a9788b08
commit
8b5deb080d
|
@ -13,7 +13,7 @@ buildPythonPackage rec {
|
|||
|
||||
postPatch = ''
|
||||
substituteInPlace src/pyudev/_ctypeslib/utils.py \
|
||||
--replace "find_library(name)" "'${systemd.lib}/lib/libudev.so'"
|
||||
--replace "find_library(name)" "'${lib.getLib systemd}/lib/libudev.so'"
|
||||
'';
|
||||
|
||||
checkInputs = [ pytest mock hypothesis docutils ];
|
||||
|
|
Loading…
Reference in a new issue