From 0c7363557b20ac4eed03a1daa9eea08f5d1bc368 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Thu, 29 Feb 2024 14:41:33 +0100 Subject: [PATCH] Remove the breaks, might not need them --- pkgs/install-nix/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/install-nix/default.nix b/pkgs/install-nix/default.nix index bb0c474..e86ddee 100644 --- a/pkgs/install-nix/default.nix +++ b/pkgs/install-nix/default.nix @@ -19,13 +19,13 @@ writeShellApplication i=1 for d in */ do - dirs[i++]="$\{d%/}" + dirs[i++]="${d%/}" done - select dir in "$\{dirs[@]}"; do echo "you selected $\{dir}"; break; done + select dir in "${dirs[@]}"; do echo "you selected ${dir}"; break; done popd pushd ./install echo "NixOS Installing..." - sudo nixos-install --flake .#$\{dir} + sudo nixos-install --flake .#${dir} popd echo "Cleaning up repository in tmp..." rm -rf ./install