fix(rl-2.92): fix fmt shim script

Change-Id: I38aed40b3f6916fa7a6991ee0bb056be98d98497
This commit is contained in:
vringar
2025-05-05 14:10:57 +00:00
committed by Stefan Zabka
parent ca8d738df4
commit dbdf7c76e6
+2 -2
View File
@@ -51,8 +51,8 @@
{
formatter = eachSystem (pkgs:
pkgs.writeShellScriptBin "formatter" ''
if [[ $# = 0 ]]; set -- .; fi
exec "${pkgs.nixfmt-rfc-style}/bin/nixfmt "$@"
if [[ $# = 0 ]]; then set -- .; fi
exec "${pkgs.nixfmt-rfc-style}/bin/nixfmt" "$@"
'');
};
}