aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/pyudev/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pyudev/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/pyudev/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pyudev/default.nix b/nixpkgs/pkgs/development/python-modules/pyudev/default.nix
index c26f9bcabe6..aabf9cd5de5 100644
--- a/nixpkgs/pkgs/development/python-modules/pyudev/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/pyudev/default.nix
@@ -13,11 +13,11 @@ 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 ];
- propagatedBuildInputs = [ systemd six ];
+ propagatedBuildInputs = [ six ];
checkPhase = ''
py.test