mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
* RPM spec file.
* Respect DESTDIR variable.
This commit is contained in:
parent
68f2fadb78
commit
94175e978a
8 changed files with 76 additions and 32 deletions
|
@ -13,11 +13,11 @@ AM_CXXFLAGS = \
|
|||
-I.. -I../../externals/inst/include -I../libutil -I../libstore -I../libmain
|
||||
|
||||
install-data-local:
|
||||
$(INSTALL) -d $(localstatedir)/nix
|
||||
$(INSTALL) -d $(localstatedir)/nix/db
|
||||
$(INSTALL) -d $(localstatedir)/nix/links
|
||||
rm -f $(prefix)/current
|
||||
ln -sf $(localstatedir)/nix/links/current $(prefix)/current
|
||||
$(INSTALL) -d $(localstatedir)/log/nix
|
||||
$(INSTALL) -d $(prefix)/store
|
||||
$(bindir)/nix-store --init
|
||||
$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix
|
||||
$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/db
|
||||
$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/links
|
||||
rm -f $(DESTDIR)$(prefix)/current
|
||||
ln -sf $(localstatedir)/nix/links/current $(DESTDIR)$(prefix)/current
|
||||
$(INSTALL) -d $(DESTDIR)$(localstatedir)/log/nix
|
||||
$(INSTALL) -d $(DESTDIR)$(prefix)/store
|
||||
# $(bindir)/nix-store --init
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue