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

inkcut: use 'lpr' from closure

authored by

Sandro and committed by
GitHub
57d3f422 6fbd8272

+6
+6
pkgs/applications/misc/inkcut/default.nix
··· 2 , python3Packages 3 , fetchFromGitHub 4 , wrapQtAppsHook 5 }: 6 7 with python3Packages; ··· 16 rev = "v${version}"; 17 sha256 = "0px0xdv6kyzkkpmvryrdfavv1qy2xrqdxkpmhvx1gj649xcabv32"; 18 }; 19 20 nativeBuildInputs = [ wrapQtAppsHook ]; 21
··· 2 , python3Packages 3 , fetchFromGitHub 4 , wrapQtAppsHook 5 + , cups 6 }: 7 8 with python3Packages; ··· 17 rev = "v${version}"; 18 sha256 = "0px0xdv6kyzkkpmvryrdfavv1qy2xrqdxkpmhvx1gj649xcabv32"; 19 }; 20 + 21 + postPatch = '' 22 + substituteInPlace inkcut/device/transports/printer/plugin.py \ 23 + --replace ", 'lpr', " ", '${cups}/bin/lpr', " 24 + ''; 25 26 nativeBuildInputs = [ wrapQtAppsHook ]; 27