From f28c3138f2d477eda5de142b0a9a01793a3a088f Mon Sep 17 00:00:00 2001 From: Anton Volnuhin Date: Sun, 28 May 2023 15:18:51 +0300 Subject: [PATCH] nix fixed --- run_once_before_install_main_deps.sh.tmpl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/run_once_before_install_main_deps.sh.tmpl b/run_once_before_install_main_deps.sh.tmpl index 3257bf3..fb8dd74 100644 --- a/run_once_before_install_main_deps.sh.tmpl +++ b/run_once_before_install_main_deps.sh.tmpl @@ -67,7 +67,6 @@ sudo chsh -s $(which fish) $USER bash <(curl -L https://nixos.org/nix/install) --no-daemon - ################################################################################################################################ ## ## Install neovim @@ -79,7 +78,7 @@ bash <(curl -L https://nixos.org/nix/install) --no-daemon sudo dnf install neovim -y {{ else if eq .chezmoi.osRelease.id "debian" "ubuntu" -}} - nix-env -iA nixpkgs.neovim + fish -c "nix-env -iA nixpkgs.neovim" {{ end -}} {{ end -}} @@ -94,7 +93,7 @@ bash <(curl -L https://nixos.org/nix/install) --no-daemon {{ if eq .chezmoi.os "linux" -}} ## install atuin - nix-env -iA nixpkgs.neovim - nix-env -iA nixpkgs.jump + fish -c "nix-env -iA nixpkgs.neovim" + fish -c "nix-env -iA nixpkgs.jump" {{ end -}}