yubikey-manager: patch path of pkill binary
This commit is contained in:
parent
653038c38d
commit
36304fc89d
@ -1,4 +1,4 @@
|
||||
{ python3Packages, fetchFromGitHub, lib, yubikey-personalization, libu2f-host, libusb1 }:
|
||||
{ python3Packages, fetchFromGitHub, lib, yubikey-personalization, libu2f-host, libusb1, procps }:
|
||||
|
||||
python3Packages.buildPythonPackage rec {
|
||||
pname = "yubikey-manager";
|
||||
@ -11,6 +11,11 @@ python3Packages.buildPythonPackage rec {
|
||||
sha256 = "sha256:0ycp7k6lkxzqwkc16fifhyqaqi7hl3351pwddsn18r5l83jnzdn2";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace "ykman/pcsc/__init__.py" \
|
||||
--replace '/usr/bin/pkill' '${procps}/bin/pkill'
|
||||
'';
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = with python3Packages; [ poetry-core ];
|
||||
|
Loading…
Reference in New Issue
Block a user