summary refs log tree commit diff
path: root/nix/scripts/substitute.in
blob: 5a2eeb7259a6d6fb0d954d4f24bdebaecea34f01 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!@SHELL@
# A shorthand for "guix substitute", for use by the daemon.

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