profiles: Slightly improve the instructions in 'etc/profile'.
* guix/build/profiles.scm (build-etc/profile): Fix typo in comment. Add backslash in the generated shell comment.
This commit is contained in:
		
							parent
							
								
									83cfa0247b
								
							
						
					
					
						commit
						5537f2d279
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -75,14 +75,14 @@ definitions for all the SEARCH-PATHS."
 | 
				
			||||||
      ;;   source ~/.guix-profile/etc/profile ~/.guix-profile
 | 
					      ;;   source ~/.guix-profile/etc/profile ~/.guix-profile
 | 
				
			||||||
      ;;
 | 
					      ;;
 | 
				
			||||||
      ;; However, when 'source' is used with no arguments, $1 refers to the
 | 
					      ;; However, when 'source' is used with no arguments, $1 refers to the
 | 
				
			||||||
      ;; first positional parameter of the calling scripts, so we can rely on
 | 
					      ;; first positional parameter of the calling script, so we cannot rely
 | 
				
			||||||
      ;; it.
 | 
					      ;; on it.
 | 
				
			||||||
      (display "\
 | 
					      (display "\
 | 
				
			||||||
# Source this file to define all the relevant environment variables in Bash
 | 
					# Source this file to define all the relevant environment variables in Bash
 | 
				
			||||||
# for this profile.  You may want to define the 'GUIX_PROFILE' environment
 | 
					# for this profile.  You may want to define the 'GUIX_PROFILE' environment
 | 
				
			||||||
# variable to point to the \"visible\" name of the profile, like this:
 | 
					# variable to point to the \"visible\" name of the profile, like this:
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
#  GUIX_PROFILE=/path/to/profile
 | 
					#  GUIX_PROFILE=/path/to/profile \\
 | 
				
			||||||
#  source /path/to/profile/etc/profile
 | 
					#  source /path/to/profile/etc/profile
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# When GUIX_PROFILE is undefined, the various environment variables refer
 | 
					# When GUIX_PROFILE is undefined, the various environment variables refer
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue