Merge pull request #130660 from raboof/inkcut-find-lpr

inkcut: use 'lpr' from closure
This commit is contained in:
Sandro 2021-07-20 11:04:06 +02:00 committed by GitHub
commit 57d3f4229c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,7 @@
, python3Packages
, fetchFromGitHub
, wrapQtAppsHook
, cups
}:
with python3Packages;
@ -17,6 +18,11 @@ buildPythonApplication rec {
sha256 = "0px0xdv6kyzkkpmvryrdfavv1qy2xrqdxkpmhvx1gj649xcabv32";
};
postPatch = ''
substituteInPlace inkcut/device/transports/printer/plugin.py \
--replace ", 'lpr', " ", '${cups}/bin/lpr', "
'';
nativeBuildInputs = [ wrapQtAppsHook ];
propagatedBuildInputs = [