From 6bfec3edf52ed6145c3c89fb19d350498dd2b758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 11 Jan 2014 17:11:14 +0100 Subject: store: Add 'register-path' procedure. * guix/store.scm (register-path): New procedure. * tests/store.scm ("register-path"): New test. * guix/config.scm.in (%guix-register-program): New variable. * configure.ac: Compute and substitute 'guix_sbindir'. Compute 'guix_prefix'. * pre-inst-env.in: Define 'GUIX_REGISTER'. --- pre-inst-env.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pre-inst-env.in') diff --git a/pre-inst-env.in b/pre-inst-env.in index acdce61168..3f1fa59bb8 100644 --- a/pre-inst-env.in +++ b/pre-inst-env.in @@ -46,6 +46,10 @@ NIX_SUBSTITUTERS="$abs_top_builddir/nix/scripts/substitute-binary" NIX_SETUID_HELPER="$abs_top_builddir/nix-setuid-helper" export NIX_ROOT_FINDER NIX_SETUID_HELPER NIX_SUBSTITUTERS +# The 'guix-register' program. +GUIX_REGISTER="$abs_top_builddir/guix-register" +export GUIX_REGISTER + # The following variables need only be defined when compiling Guix # modules, but we define them to be on the safe side in case of # auto-compilation. -- cgit v1.2.1