Add ability to execute Make target from any path
This commit is contained in:
4
Makefile
4
Makefile
@@ -1,6 +1,8 @@
|
|||||||
|
DIR=$(HOME)/Projects/panacea
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
nixos-rebuild switch --target-host root@localhost \
|
nixos-rebuild switch --target-host root@localhost \
|
||||||
--build-host root@localhost --flake path://$(PWD)#panacea
|
--build-host root@localhost --flake path://$(DIR)#panacea
|
||||||
|
|
||||||
update:
|
update:
|
||||||
nix flake update --commit-lock-file
|
nix flake update --commit-lock-file
|
||||||
|
|||||||
Reference in New Issue
Block a user