1
0
mirror of https://github.com/nix-community/home-manager synced 2024-07-01 19:08:33 +02:00
home-manager/Makefile

14 lines
305 B
Makefile
Raw Normal View History

.PHONY: all all-tests test
NIX_PATH := nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz
all: all-tests
all-tests:
$(MAKE) test TEST=all
test:
ifndef TEST
$(error Use 'make test TEST=<test_name>' to run desired test)
endif
nix-shell --pure tests -I ${NIX_PATH} -A run.${TEST}