mirror of
https://github.com/NixOS/nix
synced 2025-07-12 19:05:08 +02:00
* Added a global configuration file (/nix/etc/nix/nix.conf). It
contains options for the garbage collector right now, but other stuff can be added here later.
This commit is contained in:
parent
9f6835c282
commit
2e6bf723e4
2 changed files with 37 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
SUBDIRS = externals src scripts corepkgs doc misc tests
|
||||
EXTRA_DIST = substitute.mk nix.spec nix.spec.in bootstrap.sh svn-revision
|
||||
EXTRA_DIST = substitute.mk nix.spec nix.spec.in bootstrap.sh \
|
||||
svn-revision nix.conf.example
|
||||
|
||||
include ./substitute.mk
|
||||
|
||||
|
@ -12,6 +13,11 @@ relname:
|
|||
echo -n $(distdir) > relname
|
||||
|
||||
install-data-local: init-state
|
||||
$(INSTALL) -d $(DESTDIR)$(sysconfdir)/nix
|
||||
$(INSTALL_DATA) nix.conf.example $(DESTDIR)$(sysconfdir)/nix
|
||||
if ! test -e $(DESTDIR)$(sysconfdir)/nix/nix.conf; then \
|
||||
$(INSTALL_DATA) nix.conf.example $(DESTDIR)$(sysconfdir)/nix/nix.conf; \
|
||||
fi
|
||||
|
||||
if INIT_STATE
|
||||
if SETUID_HACK
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue