diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-10-20 16:58:34 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-10-20 16:58:34 +0000 |
commit | 92d599c6a7e7d197fa41167967860628b0f51e60 (patch) | |
tree | fff942089629ca75fa1574d5672d4322befffae1 /Makefile.am | |
parent | e932c40f8e1fb6aa6edb155fbca1c1273798a20e (diff) |
* Prevent uids from being used for more than one build
simultaneously. We do this using exclusive locks on uid files in
/nix/var/nix/userpool, e.g., /nix/var/nix/userpool/123 for uid 123.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index f62b2d20f..d2f483f11 100644 --- a/Makefile.am +++ b/Makefile.am @@ -36,7 +36,8 @@ init-state: $(INSTALL) $(INIT_FLAGS) $(GROUP_WRITABLE) -d $(DESTDIR)$(localstatedir)/nix/gcroots/channels rm -f $(DESTDIR)$(localstatedir)/nix/gcroots/profiles ln -s $(localstatedir)/nix/profiles $(DESTDIR)$(localstatedir)/nix/gcroots/profiles - $(INSTALL) $(INIT_FLAGS) -d $(DESTDIR)$(prefix)/store + $(INSTALL) $(INIT_FLAGS) -d $(DESTDIR)$(localstatedir)/nix/userpool + $(INSTALL) $(INIT_FLAGS) -m 1777 -d $(DESTDIR)$(prefix)/store $(INSTALL) $(INIT_FLAGS) $(GROUP_WRITABLE) -d $(DESTDIR)$(localstatedir)/nix/manifests # $(bindir)/nix-store --init else |