From: Olivier Dion via <gwl-devel@gnu.org>
To: Liliana Marie Prikler <liliana.prikler@ist.tugraz.at>, gwl-devel@gnu.org
Subject: Re: GWL 0.5 fails with plain packages
Date: Fri, 29 Jul 2022 11:40:02 -0400 [thread overview]
Message-ID: <877d3w2ai5.fsf@laura> (raw)
In-Reply-To: <18bd5afb0a09902a23e183cc26ccaf85f08009c0.camel@ist.tugraz.at>
Please try the following patch:
--8<---------------cut here---------------start------------->8---
diff --git a/gwl/processes.scm b/gwl/processes.scm
index 2452d1f..4207f51 100644
--- a/gwl/processes.scm
+++ b/gwl/processes.scm
@@ -197,12 +197,21 @@
((and (? string?) spec)
(lookup-package spec))
((and (? valid-package?) pkg)
+ (set! (package-output pkg) "out")
+ pkg)
+ (((? valid-package? pkg) (? string? output))
+ (set! (package-output pkg) output)
pkg)
(x
(raise
(condition
(&gwl-type-error
- (expected-type (list "<package>" "<inferior-package>" "<string>"))
+ (expected-type
+ (list "<package>"
+ "<inferior-package>"
+ "<string>"
+ "(<package> <string>)"
+ "(inferior-package> <string>)"))
(actual-value x))))))
value)))
(inputs
--8<---------------cut here---------------end--------------->8---
--
Olivier Dion
oldiob.dev
next prev parent reply other threads:[~2022-07-29 15:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-29 11:45 GWL 0.5 fails with plain packages Liliana Marie Prikler
2022-07-29 15:40 ` Olivier Dion via [this message]
2022-07-30 17:03 ` Liliana Marie Prikler
2022-07-30 17:04 ` Liliana Marie Prikler
2022-07-30 18:47 ` Olivier Dion via
2022-07-31 8:16 ` Liliana Marie Prikler
2022-07-31 13:33 ` Olivier Dion via
2022-07-31 14:35 ` Olivier Dion via
2022-07-31 21:17 ` Olivier Dion via
2022-08-01 7:21 ` Liliana Marie Prikler
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877d3w2ai5.fsf@laura \
--to=gwl-devel@gnu.org \
--cc=liliana.prikler@ist.tugraz.at \
--cc=olivier.dion@polymtl.ca \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.