yubikey-manager: patch path of pkill binary (#138941)
(cherry picked from commit 36304fc89dffe99fc1e05e2b9865fbf562d43650) Co-authored-by: Yureka <yuka@yuka.dev>
This commit is contained in:
parent
79c970a7bb
commit
f134749c7e
|
@ -1,5 +1,5 @@
|
|||
{ python3Packages, fetchurl, lib,
|
||||
yubikey-personalization, libu2f-host, libusb1 }:
|
||||
yubikey-personalization, libu2f-host, libusb1, procps }:
|
||||
|
||||
python3Packages.buildPythonPackage rec {
|
||||
pname = "yubikey-manager";
|
||||
|
@ -10,6 +10,11 @@ python3Packages.buildPythonPackage rec {
|
|||
hash = "sha256-OxbKo5vwOBabU6/2hO4RMWiifo4IVIxz+DlcwP9xO/E=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace "ykman/pcsc/__init__.py" \
|
||||
--replace '/usr/bin/pkill' '${procps}/bin/pkill'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs =
|
||||
with python3Packages; [
|
||||
click
|
||||
|
|
Loading…
Reference in New Issue