about summary refs log tree commit diff
path: root/src/Makefile.am
blob: 6c3e5ee209ae6425dba9a202539fbe32d88ec442 (plain) (blame)
1
2
3
4
5
6
7
8
SUBDIRS = bin2c boost libutil libstore libmain nix-store nix-hash \
 libexpr nix-instantiate nix-env log2xml

SETUID_PROGS = nix-store nix-instantiate nix-env
install-exec-hook:
if SETUID_HACK
	cd $(DESTDIR)$(bindir) && chown root $(SETUID_PROGS) && chmod u+s $(SETUID_PROGS)
endif