From 04d836f88693c79ba040040a41084d98bf3f1fc1 Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 12 Jan 2026 16:49:15 +0100 Subject: [PATCH] Add ability to execute Make target from any path --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4438be8..555d06b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,8 @@ +DIR=$(HOME)/Projects/panacea + switch: nixos-rebuild switch --target-host root@localhost \ - --build-host root@localhost --flake path://$(PWD)#panacea + --build-host root@localhost --flake path://$(DIR)#panacea update: nix flake update --commit-lock-file