Merge pull request #119706 from nyanotech/master
nixos/printers: fix ensureDefaultPrinter
This commit is contained in:
commit
e3e6b73701
@ -15,7 +15,7 @@ let
|
|||||||
${ppdOptionsString p.ppdOptions}
|
${ppdOptionsString p.ppdOptions}
|
||||||
'';
|
'';
|
||||||
ensureDefaultPrinter = name: ''
|
ensureDefaultPrinter = name: ''
|
||||||
${pkgs.cups}/bin/lpoptions -d '${name}'
|
${pkgs.cups}/bin/lpadmin -d '${name}'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# "graph but not # or /" can't be implemented as regex alone due to missing lookahead support
|
# "graph but not # or /" can't be implemented as regex alone due to missing lookahead support
|
||||||
|
Loading…
Reference in New Issue
Block a user