From cd51f00bfdc642a3d7e80f711747e144f0eced1e Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 25 Dec 2024 18:46:33 +0100 Subject: fix(modules/nix-sync/internal): Fix syntax errors in shell-script --- modules/by-name/ni/nix-sync/internal_module.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/by-name/ni/nix-sync/internal_module.nix b/modules/by-name/ni/nix-sync/internal_module.nix index e3b55c9..4e28586 100644 --- a/modules/by-name/ni/nix-sync/internal_module.nix +++ b/modules/by-name/ni/nix-sync/internal_module.nix @@ -55,7 +55,7 @@ out_paths=$(mktemp); nix build . --print-out-paths --experimental-features 'nix-command flakes' > "$out_paths"; - [ "$(wc -l < "$out_paths")" -gt 1 ] && {echo "To many out-paths"; exit 1;} + [ "$(wc -l < "$out_paths")" -gt 1 ] && { echo "To many out-paths"; exit 1; } out_path="$(cat "$out_paths")"; rm ${esa repoPath}; ln -s "$out_path" ${esa repoPath}; @@ -71,7 +71,7 @@ out_paths=$(mktemp); nix build ${esa repoCachePath} --print-out-paths --experimental-features 'nix-command flakes' > "$out_paths"; - [ "$(wc -l < "$out_paths")" -gt 1 ] && {echo "To many out-paths"; exit 1;} + [ "$(wc -l < "$out_paths")" -gt 1 ] && { echo "To many out-paths"; exit 1; } out_path="$(cat "$out_paths")"; ln -s "$out_path" ${esa repoPath}; rm "$out_paths"; -- cgit 1.4.1