summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-06-05 00:04:05 +0200
committerLudovic Courtès <ludo@gnu.org>2016-06-05 00:05:38 +0200
commit40d71e44f5068b28f48bd131940260cc0ab2e2d1 (patch)
treeb7f79803615b3b57d84ea9693d58e183a547e36a /guix
parent834a2fc1ff170aa66b8f4d2694b61dac1f43b0ae (diff)
profiles: 'profile-derivation' now honors #:system.
Fixes <http://bugs.gnu.org/23682>. Reported by Ander GM <anthk@openmailbox.org>. * guix/profiles.scm (profile-derivation): Pass #:system to 'gexp->derivation'. * tests/guix-environment.sh: Add 'guix environment -s' test.
Diffstat (limited to 'guix')
-rw-r--r--guix/profiles.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/profiles.scm b/guix/profiles.scm
index 8355af7a48..ce8a11fbe5 100644
--- a/guix/profiles.scm
+++ b/guix/profiles.scm
@@ -811,6 +811,7 @@ the monadic procedures listed in HOOKS--such as an Info 'dir' file, etc."
#:search-paths search-paths)))
(gexp->derivation "profile" builder
+ #:system system
#:modules '((guix build profiles)
(guix build union)
(guix build utils)