Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python3.pkgs.pyudev: use lib.getLib systemd instead of systemd.lib

This will pick the `lib` output if it exists, otherwise default to `out`.

+1 -1
+1 -1
pkgs/development/python-modules/pyudev/default.nix
··· 13 13 14 14 postPatch = '' 15 15 substituteInPlace src/pyudev/_ctypeslib/utils.py \ 16 - --replace "find_library(name)" "'${systemd.lib}/lib/libudev.so'" 16 + --replace "find_library(name)" "'${lib.getLib systemd}/lib/libudev.so'" 17 17 ''; 18 18 19 19 checkInputs = [ pytest mock hypothesis docutils ];