GNU bug report logs -
#38612
Pass system and target arguments to gexp->file.
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
In the same spirit, here's another patch to fix profile-derivation.
Mathieu
[0001-profile-derivation-Use-current-system-and-target.patch (text/x-diff, inline)]
From 964f14a8bbd420f0f9207f1a666badaaaf625e3e Mon Sep 17 00:00:00 2001
From: Mathieu Othacehe <m.othacehe <at> gmail.com>
Date: Sat, 14 Dec 2019 18:39:59 +0100
Subject: [PATCH] profile-derivation: Use current system and target.
* guix/profiles.scm (profile-derivation): Use current system and target.
---
guix/profiles.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/profiles.scm b/guix/profiles.scm
index 616605151e..a328e40687 100644
--- a/guix/profiles.scm
+++ b/guix/profiles.scm
@@ -1438,7 +1438,8 @@ MANIFEST."
(locales? #t)
(allow-collisions? #f)
(relative-symlinks? #f)
- system target)
+ (system (%current-system))
+ (target (%current-target-system)))
"Return a derivation that builds a profile (aka. 'user environment') with
the given MANIFEST. The profile includes additional derivations returned by
the monadic procedures listed in HOOKS--such as an Info 'dir' file, etc.
--
2.24.0
This bug report was last modified 4 years and 300 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.