Merge pull request #119706 from nyanotech/master

nixos/printers: fix ensureDefaultPrinter
This commit is contained in:
Sandro
2021-04-24 03:49:09 +02:00
committed by GitHub

View File

@@ -15,7 +15,7 @@ let
${ppdOptionsString p.ppdOptions}
'';
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