try new makefile command
This commit is contained in:
parent
c7d63609da
commit
1dfeae2df6
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue