try new makefile command

This commit is contained in:
Osman Faruk Bayram 2024-10-12 12:04:34 +03:00
parent c7d63609da
commit 1dfeae2df6

View file

@ -10,7 +10,7 @@ check-status:
build: check-status build: check-status
@NIXOS_LABEL=$$(git rev-parse HEAD) && \ @NIXOS_LABEL=$$(git rev-parse HEAD) && \
echo "Setting NixOS label to commit hash: $$NIXOS_LABEL" && \ echo "Setting NixOS label to commit hash: $$NIXOS_LABEL" && \
sudo nixos-rebuild switch --flake . --arg config "'{ system.label = \"$$NIXOS_LABEL\"; }'" sudo nixos-rebuild switch --flake .
.PHONY: check-status build .PHONY: check-status build