nixos/gancio: properly quote

Co-authored-by: Wroclaw <wroclaw223@outlook.com>
This commit is contained in:
Sandro
2025-05-12 17:55:46 +02:00
committed by Sandro Jäckel
co-authored by Wroclaw
parent 3a5c613ce2
commit 95afdf2b49
+1 -1
View File
@@ -174,7 +174,7 @@ in
if [[ "$USER" != ${cfg.user} ]]; then
sudo="exec /run/wrappers/bin/sudo -u ${cfg.user}"
fi
$sudo ${lib.getExe cfg.package} ''${@:--help}
$sudo ${lib.getExe cfg.package} "''${@:--help}"
' > $out/bin/gancio
chmod +x $out/bin/gancio
'')