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