update single input cmd

This commit is contained in:
Zuckerberg 2025-07-12 10:27:09 -07:00
parent 1c9fa418b3
commit 7b26cfb4eb

View File

@ -25,3 +25,8 @@ clean-old-nixos-profiles:
.PHONY: gc .PHONY: gc
gc: gc:
nix store gc nix store gc
# Update a flake input by name (ex: 'nixpkgs')
.PHONY: update-input
update-input:
nix flake update $(filter-out $@,$(MAKECMDGOALS))