aboutsummaryrefslogtreecommitdiff
path: root/nix/scripts/authenticate.in
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-09-03 21:51:25 +0200
committerLudovic Courtès <ludo@gnu.org>2019-09-08 11:49:24 +0200
commit0c684b7edfacada4f576855dbb09291f04a84fa2 (patch)
treed4df94e7ae576b48d238bcccac315edf026277d5 /nix/scripts/authenticate.in
parent2e3e5d21988fc2cafb2a9eaf4b00976ea425629d (diff)
downloadpatches-0c684b7edfacada4f576855dbb09291f04a84fa2.tar
patches-0c684b7edfacada4f576855dbb09291f04a84fa2.tar.gz
daemon: Run 'guix authenticate' directly.
* nix/scripts/authenticate.in: Remove. * nix/local.mk (nodist_pkglibexec_SCRIPTS): Remove scripts/authenticate. * config-daemon.ac: Don't output 'nix/scripts/authenticate'. * nix/libstore/local-store.cc (runAuthenticationProgram): Run 'guix authenticate'.
Diffstat (limited to 'nix/scripts/authenticate.in')
-rw-r--r--nix/scripts/authenticate.in11
1 files changed, 0 insertions, 11 deletions
diff --git a/nix/scripts/authenticate.in b/nix/scripts/authenticate.in
deleted file mode 100644
index 5ce57915f0..0000000000
--- a/nix/scripts/authenticate.in
+++ /dev/null
@@ -1,11 +0,0 @@
-#!@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