aboutsummaryrefslogtreecommitdiff
path: root/nix/scripts/download.in
blob: 4d7088a99337d269970eb9d486023c5c33cf5ff8 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
#!@SHELL@
# A shorthand for "guix perform-download", for use by the daemon.

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