From: Liliana Marie Prikler <liliana.prikler@ist.tugraz.at>
To: gwl-devel@gnu.org
Subject: GWL 0.5 fails with plain packages
Date: Fri, 29 Jul 2022 13:45:02 +0200 [thread overview]
Message-ID: <18bd5afb0a09902a23e183cc26ccaf85f08009c0.camel@ist.tugraz.at> (raw)
Hi Guix,
using this rather simple workflow
--8<---------------cut here---------------start------------->8---
use-modules : gnu packages base
process greet
packages hello
# { hello }
workflow simple-wisp
processes
list greet
--8<---------------cut here---------------end--------------->8---
I get the following error:
--8<---------------cut here---------------start------------->8---
Backtrace:
In guix/gexp.scm:
893:4 19 (_ _)
In guix/store.scm:
2053:12 18 (_ #<store-connection 256.99 7f0d3e5eef00>)
1380:11 17 (map/accumulate-builds #<store-connection 256.99 7f0d3…>
…)
1298:8 16 (call-with-build-handler #<procedure 7f0d3d783990 at g…>
…)
2168:25 15 (run-with-store #<store-connection 256.99 7f0d3e5eef00> …)
In guix/gexp.scm:
898:13 14 (_ _)
In guix/store.scm:
1996:8 13 (_ _)
In guix/gexp.scm:
300:22 12 (_ _)
In guix/profiles.scm:
1935:2 11 (_ _)
In guix/store.scm:
2053:12 10 (_ #<store-connection 256.99 7f0d3e5eef00>)
1380:11 9 (map/accumulate-builds #<store-connection 256.99 7f0d3…>
…)
1298:8 8 (call-with-build-handler #<procedure 7f0d3d7fb900 at g…>
…)
2168:25 7 (run-with-store #<store-connection 256.99 7f0d3e5eef00> …)
In guix/gexp.scm:
1181:2 6 (_ _)
1047:2 5 (_ _)
1388:2 4 (_ _)
In guix/monads.scm:
471:9 3 (_ _)
471:9 2 (_ _)
In guix/gexp.scm:
332:25 1 (_ _)
In ice-9/boot-9.scm:
1685:16 0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
ERROR:
1. &derivation-missing-output-error:
derivation: #<derivation
/gnu/store/1mzvmkh3a81xm4xz6g2l0b0vgzpl52c5-hello-2.12.1.drv =>
/gnu/store/s5pd3rnzymliafb4la5sca63j86xs0y0-hello-2.12.1 7f0d3ba40af0>
output: #f
--8<---------------cut here---------------end--------------->8---
I'd hazard a guess this has to do with the recently added support for
outputs. Note that attempting to specify an output
--8<---------------cut here---------------start------------->8---
process greet
packages
list : list hello "out"
# { hello }
--8<---------------cut here---------------end--------------->8---
results in a different error
--8<---------------cut here---------------start------------->8---
ice-9/boot-9.scm:1752:10: error: type error: expected one of
`<package>' `<inferior-package>' `<string>', but got `<pair>' in
`(#<package hello@2.12.1 gnu/packages/base.scm:86 7fd084ba76e0> out)'
--8<---------------cut here---------------end--------------->8---
Thus, there is no way to use plain packages with GWL 0.5.
Cheers
next reply other threads:[~2022-07-29 11:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-29 11:45 Liliana Marie Prikler [this message]
2022-07-29 15:40 ` GWL 0.5 fails with plain packages Olivier Dion via
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
List information: https://www.guixwl.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18bd5afb0a09902a23e183cc26ccaf85f08009c0.camel@ist.tugraz.at \
--to=liliana.prikler@ist.tugraz.at \
--cc=gwl-devel@gnu.org \
/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.
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).