1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 11:03:54 +02:00

* Refactoring: put the manifest-reading code in a separate file.

This commit is contained in:
Eelco Dolstra 2003-12-05 11:25:38 +00:00
parent cff6fd22eb
commit 06c5a7075d
3 changed files with 114 additions and 90 deletions

View file

@ -4,9 +4,13 @@ bin_SCRIPTS = nix-collect-garbage \
noinst_SCRIPTS = nix-profile.sh
install-exec-local:
nix-pull nix-push: readmanifest.pm
install-exec-local: readmanifest.pm
$(INSTALL) -d $(sysconfdir)/profile.d
$(INSTALL_PROGRAM) nix-profile.sh $(sysconfdir)/profile.d/nix.sh
$(INSTALL) -d $(libexecdir)/nix
$(INSTALL_DATA) readmanifest.pm $(libexecdir)/nix
$(INSTALL) -d $(sysconfdir)/nix
# !!! don't overwrite local modifications
$(INSTALL_DATA) prebuilts.conf $(sysconfdir)/nix/prebuilts.conf
@ -16,5 +20,5 @@ 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
prebuilts.conf readmanifest.pm