feat(update): Use older command for updating flakes for nix-darwin

This commit is contained in:
Uttarayan Mondal
2024-04-16 11:13:08 +05:30
parent 306c4bd0fa
commit 8b0c402f09
3 changed files with 9 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ set dotenv-load
# clean := `git diff-index --quiet --cached HEAD --`
[macos]
install: local
nix run nix-darwin -- switch --flake .
darwin-rebuild switch --flake .
[linux]
install: local
@@ -16,9 +16,15 @@ build:
home:
nix --extra-experimental-features "nix-command flakes" run home-manager/master -- switch --flake . --show-trace
[linux]
local:
nix flake update subflakes
nix flake update neovim
[macos]
local:
nix flake lock --update-input subflakes
nix flake lock --update-input neovim
nvim:
nix run .#neovim