Compare commits
2 commits
6f0a5fcc30
...
74a10b791e
Author | SHA1 | Date | |
---|---|---|---|
74a10b791e | |||
129bc5c0a0 |
1 changed files with 3 additions and 5 deletions
8
Makefile
8
Makefile
|
@ -1,8 +1,6 @@
|
|||
NIX_RUN := nix run .\#
|
||||
NIX_LOCK := nix flake lock
|
||||
|
||||
NEOVIM_INDEX := 4
|
||||
|
||||
DEPS_EDITOR := \
|
||||
nixeovim
|
||||
|
||||
|
@ -57,7 +55,7 @@ rollback:
|
|||
|
||||
.PHONY: neovim
|
||||
neovim:
|
||||
nix profile upgrade $(NEOVIM_INDEX)
|
||||
nix profile upgrade $(or $(NEOVIM_INDEX),$(shell nix profile list --json | jq '.elements | to_entries[] | select(.value.attrPath | endswith(".neovim-dev")) | .key'))
|
||||
|
||||
.PHONY: init-neovim
|
||||
init-neovim:
|
||||
|
@ -67,11 +65,11 @@ init-neovim:
|
|||
# Deps
|
||||
################################################################################
|
||||
|
||||
.PHONY: deps-my
|
||||
.PHONY: deps-editor
|
||||
deps-editor:
|
||||
$(NIX_LOCK) $(foreach dep,$(DEPS_EDITOR),--update-input $(dep))
|
||||
|
||||
.PHONY: deps-nixos
|
||||
.PHONY: deps-system
|
||||
deps-system:
|
||||
$(NIX_LOCK) $(foreach dep,$(DEPS_SYSTEM),--update-input $(dep))
|
||||
|
||||
|
|
Loading…
Reference in a new issue