about summary refs log tree commit diff
path: root/scripts/Makefile.am
blob: d1ab6e4cdc6827a372515b189a795abedf0ba36f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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

EXTRA_DIST = nix-switch.in nix-collect-garbage.in \
 nix-pull.in nix-push.in nix-profile.sh.in \
 prebuilts.conf