summaryrefslogtreecommitdiff
path: root/nix/scripts/offload.in
blob: 50faed31c0bf9650172fb34e5b894984880f3d1a (plain)
1
2
3
4
5
6
7
8
9
10
11
#!@SHELL@
# A shorthand for "guix offload", for use by the daemon.

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