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

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