nixos/printers: Fix ShellCheck issue
Fixes the following warning when setting `systemd.enableStrictShellChecks = true`: > In /nix/store/a3mk99mgl10a4k3maxx361hdli5p2rip-unit-script-ensure-printers-start/bin/ensure-printers-start line 6: > /nix/store/26fb46gwc5sbd045nj3dxw4zqpml359i-cups-2.4.11/bin/lpadmin -D 'virtual printer for cups-pdf instance pdf' -L '/var/spool/cups-pdf-pdf/users/${USER}' -m CUPS-PDF_opt.ppd -p pdf -v cups-pdf:/pdf -E > ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that.
This commit is contained in:
parent
a1945f760a
commit
6bb5aa2d26
@ -28,6 +28,7 @@ let
|
||||
);
|
||||
in
|
||||
''
|
||||
# shellcheck disable=SC2016
|
||||
${pkgs.cups}/bin/lpadmin ${args} -E
|
||||
'';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user