1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-26 12:10:59 +01:00

Partially integrated state components (startscripts) into nix-env

This commit is contained in:
Wouter den Breejen 2007-08-10 15:39:02 +00:00
parent 13f321e397
commit 7424d72098
17 changed files with 241 additions and 122 deletions

View file

@ -4,7 +4,7 @@ bin_SCRIPTS = nix-collect-garbage \
nix-pack-closure nix-unpack-closure \
nix-copy-closure
noinst_SCRIPTS = nix-profile.sh generate-patches.pl find-runtime-roots.pl nix-readrevisions.sh nix-restorerevision.sh
noinst_SCRIPTS = nix-profile.sh generate-patches.pl find-runtime-roots.pl
nix-pull nix-push: readmanifest.pm readconfig.pm download-using-manifests.pl
@ -17,8 +17,6 @@ install-exec-local: readmanifest.pm download-using-manifests.pl find-runtime-roo
$(INSTALL_PROGRAM) download-using-manifests.pl $(DESTDIR)$(libexecdir)/nix
$(INSTALL_PROGRAM) find-runtime-roots.pl $(DESTDIR)$(libexecdir)/nix
$(INSTALL_PROGRAM) generate-patches.pl $(DESTDIR)$(libexecdir)/nix
$(INSTALL_PROGRAM) nix-readrevisions.sh $(DESTDIR)$(libexecdir)/nix
$(INSTALL_PROGRAM) nix-restorerevision.sh $(DESTDIR)$(libexecdir)/nix
$(INSTALL) -d $(DESTDIR)$(sysconfdir)/nix
include ../substitute.mk
@ -34,6 +32,4 @@ EXTRA_DIST = nix-collect-garbage.in \
generate-patches.pl.in \
nix-pack-closure.in nix-unpack-closure.in \
nix-copy-closure.in \
find-runtime-roots.pl.in \
nix-readrevisions.sh.in \
nix-restorerevision.sh.in
find-runtime-roots.pl.in

View file

@ -1,13 +0,0 @@
#! /bin/sh -e
svnbin=$1
repos=$2
if [ "$#" != 2 ] ; then
echo "Incorrect number of arguments"
exit 1;
fi
$svnbin info $repos | sed -n '/^Revision: /p' | sed 's/Revision: //'
# | tr -d "\12"

View file

@ -1,13 +0,0 @@
#! /bin/sh -e
svnbin=$1
repos=$2
if [ "$#" != 2 ] ; then
echo "Incorrect number of arguments"
exit 1;
fi
$svnbin info $repos | sed -n '/^Revision: /p' | sed 's/Revision: //'
# | tr -d "\12"

View file

@ -1,13 +0,0 @@
#! /bin/sh -e
svnbin=$1
torevision=$2
repos=$3
statepath=$4
if [ "$#" != 4 ] ; then
echo "Incorrect number of arguments"
exit 1;
fi
$svnbin merge -r HEAD:$torevision $repos $statepath

View file

@ -1,13 +0,0 @@
#! /bin/sh -e
svnbin=$1
torevision=$2
repos=$3
statepath=$4
if [ "$#" != 4 ] ; then
echo "Incorrect number of arguments"
exit 1;
fi
$svnbin merge -r HEAD:$torevision $repos $statepath