guix-package: Avoid use of the `guix' sub-directory for profiles.
* guix-package.in (%current-profile): Change to `guix-profile'.
This commit is contained in:
		
							parent
							
								
									6cb3ccf835
								
							
						
					
					
						commit
						4aa52039a7
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -68,7 +68,9 @@ exec ${GUILE-@GUILE@} -L "@guilemoduledir@" -l "$0"    \
 | 
				
			||||||
                     "default")))
 | 
					                     "default")))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define %current-profile
 | 
					(define %current-profile
 | 
				
			||||||
  (string-append %profile-directory "/profile"))
 | 
					  ;; Call it `guix-profile', not `profile', to allow Guix profiles to
 | 
				
			||||||
 | 
					  ;; coexist with Nix profiles.
 | 
				
			||||||
 | 
					  (string-append %profile-directory "/guix-profile"))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define (profile-manifest profile)
 | 
					(define (profile-manifest profile)
 | 
				
			||||||
  "Return the PROFILE's manifest."
 | 
					  "Return the PROFILE's manifest."
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue