guix-package: Avoid use of the `guix' sub-directory for profiles.
authorLudovic Courtès <ludo@gnu.org>
Thu, 13 Dec 2012 22:02:22 +0000 (23:02 +0100)
committerLudovic Courtès <ludo@gnu.org>
Thu, 13 Dec 2012 22:02:22 +0000 (23:02 +0100)
* guix-package.in (%current-profile): Change to `guix-profile'.

guix-package.in

index dbd2ee2..fee1a39 100644 (file)
@@ -68,7 +68,9 @@ exec ${GUILE-@GUILE@} -L "@guilemoduledir@" -l "$0"    \
                      "default")))
 
 (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)
   "Return the PROFILE's manifest."