#!@SHELL@
# A shorthand for "guix substitute-binary", for use by the daemon.

if test "x$GUIX_UNINSTALLED" = "x"
then
    prefix="@prefix@"
    exec_prefix="@exec_prefix@"
    exec "@bindir@/guix" substitute-binary "$@"
else
    exec guix substitute-binary "$@"
fi
