about summary refs log tree commit diff
path: root/scripts/Makefile.am
blob: fb2ef566da9221949c3761161671a93004d8f581 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
bin_SCRIPTS = nix-switch nix-collect-garbage \
 nix-pull nix-push

noinst_SCRIPTS = nix-profile.sh

install-exec-local:
	$(INSTALL) -d $(sysconfdir)/profile.d
	$(INSTALL_PROGRAM) nix-profile.sh $(sysconfdir)/profile.d/nix.sh
	$(INSTALL) -d $(sysconfdir)/nix
# !!! don't overwrite local modifications
	$(INSTALL_DATA) prebuilts.conf $(sysconfdir)/nix/prebuilts.conf

include ../substitute.mk