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

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