* guix/scripts/substitute-binary.scm: Rename to... * guix/scripts/substitute.scm: ... this. Adjust module name, entry point, comments, and help string accordingly. * nix/scripts/substitute-binary.in: Rename to... * nix/scripts/substitute.in: ... this. * pre-inst-env.in (NIX_SUBSTITUTERS): Adjust accordingly. * tests/substitute-binary.scm: Rename to... * tests/substitute.scm: ... this. Adjust references to (guix scripts substitute) accordingly. * guix/ui.scm (show-guix-help)[internal?]: Change "substitute-binary" to "substitute". * Makefile.am (MODULES, SCM_TESTS): Adjust to file renames. * daemon.am (nodist_pkglibexec_SCRIPTS): Likewise. * config-daemon.ac: Likewise. * guix/tests.scm (call-with-derivation-narinfo): Adjust comments and docstring.
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			244 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			244 B
		
	
	
	
		
			Text
		
	
	
	
	
	
#!@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
 |