mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 03:45:24 -05:00
0fe1fba4af
That way it is handled in the same way as other helper scripts. * nix/scripts/guix-authenticate.in: Rename to... * nix/scripts/authenticate.in: ... this. * config-daemon.ac: Adjust accordingly. * nix/local.mk (libstore_a_CPPFLAGS): Remove -DOPENSSL_PATH. (nodist_libexec_SCRIPTS): Remove. (nodist_pkglibexec_SCRIPTS): New variable. * nix/nix-daemon/guix-daemon.cc (main): Remove 'setenv' call for "PATH". * nix/libstore/local-store.cc (runAuthenticationProgram): New function. (LocalStore::exportPath, LocalStore::importPath): Use it instead of 'runProgram' and OPENSSL_PATH.
11 lines
250 B
Text
11 lines
250 B
Text
#!@SHELL@
|
|
# A shorthand for "guix authenticate", for use by the daemon.
|
|
|
|
if test "x$GUIX_UNINSTALLED" = "x"
|
|
then
|
|
prefix="@prefix@"
|
|
exec_prefix="@exec_prefix@"
|
|
exec "@bindir@/guix" authenticate "$@"
|
|
else
|
|
exec guix authenticate "$@"
|
|
fi
|