aboutsummaryrefslogtreecommitdiff
path: root/scripts/local.mk
blob: 2a00558521b2ea288e759d03209147ab8e7dad07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
nix_noinst_scripts := \
  $(d)/nix-http-export.cgi \
  $(d)/nix-profile.sh \
  $(d)/nix-reduce-build

noinst-scripts += $(nix_noinst_scripts)

profiledir = $(sysconfdir)/profile.d

$(eval $(call install-file-as, $(d)/nix-profile.sh, $(profiledir)/nix.sh, 0644))
$(eval $(call install-file-as, $(d)/nix-profile-daemon.sh, $(profiledir)/nix-daemon.sh, 0644))

clean-files += $(nix_noinst_scripts)