#!/bin/sh
# A shorthand for "guix offload", for use by the daemon.

if test "x$GUIX_UNINSTALLED" = "x"
then
    prefix="/usr"
    exec_prefix="/usr"
    exec "/usr/bin/guix" offload "$@"
else
    exec guix offload "$@"
fi
