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

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