From: phodina via Guix-patches via <guix-patches@gnu.org>
To: 53584@debbugs.gnu.org
Subject: [bug#53584] guix: Use 'gexp->derivation' instead of 'build-expression->derivation'.
Date: Thu, 27 Jan 2022 14:38:13 +0000 [thread overview]
Message-ID: <rfhegYyhkOl1PLTymlL_2WhZhTLznyClwVK_EGXD6ABRwvGsI2KijYm9Z7hAMrcCUaWngOZg-_VK9piF63qGtoQNyZAHK1EYAh9V4zrVjx4=@protonmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 118 bytes --]
Hi,
I've noticed in the output of bootstraping the guix package some warnings about deprecated expression.
----
Petr
[-- Attachment #1.2: Type: text/html, Size: 342 bytes --]
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-guix-Use-gexp-derivation-instead-of-build-expression.patch --]
[-- Type: text/x-patch; name=0001-guix-Use-gexp-derivation-instead-of-build-expression.patch, Size: 1531 bytes --]
From e128b9d35060187b04ebd36cabd152f0e968dc87 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Thu, 27 Jan 2022 15:32:35 +0100
Subject: [PATCH] guix: Use 'gexp->derivation' instead of
'build-expression->derivation'.
* guix/derivations.scm: Update deprecated expression.
* guix/grafts.scm: Same as above.
diff --git a/guix/derivations.scm b/guix/derivations.scm
index f77ea179f4..615bb161d1 100644
--- a/guix/derivations.scm
+++ b/guix/derivations.scm
@@ -1218,7 +1218,7 @@ (define builder
#:opts %auto-compilation-options)))))
files)))
- (build-expression->derivation store name builder
+ (gexp->derivation store name builder
#:inputs `(("modules" ,module-dir))
#:system system
#:guile-for-build guile
diff --git a/guix/grafts.scm b/guix/grafts.scm
index 0ffda8f9aa..e0a97e895b 100644
--- a/guix/grafts.scm
+++ b/guix/grafts.scm
@@ -134,7 +134,7 @@ (define properties
((($ <graft> sources source-outputs targets target-outputs) ...)
(let ((sources (zip sources source-outputs))
(targets (zip targets target-outputs)))
- (build-expression->derivation store name build
+ (gexp->derivation store name build
#:system system
#:guile-for-build guile
#:modules '((guix build graft)
--
2.34.0
next reply other threads:[~2022-01-27 14:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-27 14:38 phodina via Guix-patches via [this message]
2022-01-29 22:58 ` [bug#53584] guix: Use 'gexp->derivation' instead of 'build-expression->derivation' Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='rfhegYyhkOl1PLTymlL_2WhZhTLznyClwVK_EGXD6ABRwvGsI2KijYm9Z7hAMrcCUaWngOZg-_VK9piF63qGtoQNyZAHK1EYAh9V4zrVjx4=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=53584@debbugs.gnu.org \
--cc=phodina@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).