mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 23:12:44 +01:00
Create a profile suitable for multi-user installs
This commit is contained in:
parent
206b61b074
commit
3e0a503bf7
3 changed files with 57 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ nix_noinst_scripts := \
|
|||
$(d)/resolve-system-dependencies.pl \
|
||||
$(d)/nix-http-export.cgi \
|
||||
$(d)/nix-profile.sh \
|
||||
$(d)/nix-profile-daemon.sh \
|
||||
$(d)/nix-reduce-build \
|
||||
$(nix_substituters)
|
||||
|
||||
|
|
@ -28,6 +29,7 @@ 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))
|
||||
$(eval $(call install-program-in, $(d)/find-runtime-roots.pl, $(libexecdir)/nix))
|
||||
$(eval $(call install-program-in, $(d)/build-remote.pl, $(libexecdir)/nix))
|
||||
$(eval $(call install-program-in, $(d)/resolve-system-dependencies.pl, $(libexecdir)/nix))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue