overrides.evdev: substitute linuxHeaders path

This commit is contained in:
Joel 2022-07-03 17:56:11 +10:00
parent d41ce727db
commit 41ff7d16ea
No known key found for this signature in database
GPG key ID: 18550BD205E9EF64

View file

@ -528,6 +528,12 @@ lib.composeManyExtensions [
'';
});
evdev = super.evdev.overridePythonAttrs (old: {
preConfigure = ''
substituteInPlace setup.py --replace /usr/include/linux ${pkgs.linuxHeaders}/include/linux
'';
});
faker = super.faker.overridePythonAttrs (
old: {
buildInputs = (old.buildInputs or [ ]) ++ [ self.pytest-runner ];