tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
inkcut: use 'lpr' from closure
Arnout Engelen
4 years ago
a6b9ef6a
b59c06dc
+6
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
inkcut
default.nix
+6
pkgs/applications/misc/inkcut/default.nix
···
2
2
, python3Packages
3
3
, fetchFromGitHub
4
4
, wrapQtAppsHook
5
5
+
, cups
5
6
}:
6
7
7
8
with python3Packages;
···
16
17
rev = "v${version}";
17
18
sha256 = "0px0xdv6kyzkkpmvryrdfavv1qy2xrqdxkpmhvx1gj649xcabv32";
18
19
};
20
20
+
21
21
+
postPatch = ''
22
22
+
substituteInPlace inkcut/device/transports/printer/plugin.py \
23
23
+
--replace ", 'lpr', " ", '${cups}/bin/lpr', "
24
24
+
'';
19
25
20
26
nativeBuildInputs = [ wrapQtAppsHook ];
21
27