Commit 7483860
committed
{nixos/tests/}/cups-pdf: use
With `lib.getExe`, we also use "magick" instead of "convert`,
and thereby avoid the ImageMagick warning message:
> WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert"
The replacement string for the
`cp` command is shortened.
This is a bit risky since an update might inadvertently
introduce a similar string that is then also replaced.
However, the leading double-quote and
trailing space seem safe enough to me.getExe and substituteInPlace
1 parent f4f8903 commit 7483860
File tree
2 files changed
+3
-2
lines changed- nixos/tests
- pkgs/by-name/cu/cups-pdf-to-pdf
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
0 commit comments