forked from lix-project/lix
e7ea52d3b3
The script nix-install-package takes a `Nix package file' (which contains one or more derivations, along with URLs of Nix caches), unpacks it, pulls the caches, and installs the derivations in the user's environment. For best results, associate the command `xterm -e /nix/bin/nix-install-package' with the MIME type `application/x-nix-package' and visit http://losser.st-lab.cs.uu.nl/~eelco/test/.
20 lines
567 B
Makefile
20 lines
567 B
Makefile
bin_SCRIPTS = nix-collect-garbage \
|
|
nix-pull nix-push nix-prefetch-url \
|
|
nix-install-package
|
|
|
|
noinst_SCRIPTS = nix-profile.sh
|
|
|
|
install-exec-local:
|
|
$(INSTALL) -d $(sysconfdir)/profile.d
|
|
$(INSTALL_PROGRAM) nix-profile.sh $(sysconfdir)/profile.d/nix.sh
|
|
$(INSTALL) -d $(sysconfdir)/nix
|
|
# !!! don't overwrite local modifications
|
|
$(INSTALL_DATA) prebuilts.conf $(sysconfdir)/nix/prebuilts.conf
|
|
|
|
include ../substitute.mk
|
|
|
|
EXTRA_DIST = nix-collect-garbage.in \
|
|
nix-pull.in nix-push.in nix-profile.sh.in \
|
|
nix-prefetch-url.in nix-install-package.in \
|
|
prebuilts.conf
|
|
|