dee6b75702
These files are required to get Nix in PATH in existing multi-user installs using
the legacy installer. We really could use some tests.
Cc: https://git.lix.systems/lix-project/lix/issues/33
This partially reverts commit 93cc063344
.
Fixes: https://git.lix.systems/lix-project/lix/issues/173
Change-Id: Iafb55280596732670a432f604b897f48562868e4
13 lines
524 B
Makefile
13 lines
524 B
Makefile
nix_noinst_scripts := \
|
|
$(d)/nix-profile.sh
|
|
|
|
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.fish, $(profiledir)/nix.fish, 0644))
|
|
$(eval $(call install-file-as, $(d)/nix-profile-daemon.sh, $(profiledir)/nix-daemon.sh, 0644))
|
|
$(eval $(call install-file-as, $(d)/nix-profile-daemon.fish, $(profiledir)/nix-daemon.fish, 0644))
|
|
|
|
clean-files += $(nix_noinst_scripts)
|