unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: guix-devel <guix-devel@gnu.org>
Subject: Derivation is missing output
Date: Mon, 22 Jun 2020 16:07:58 +0200	[thread overview]
Message-ID: <97123365-9ebd-c7dd-a48b-97e5f041d454@crazy-compilers.com> (raw)

Hi,

I'm still working on the download and importer for hex.pm and the rebar3
build-system for Erlang. So far I made good progress, but now I stepped
over a curious issue:

The downloader is modeled like the one for git, bzr and hg, creating a
fixed script controlled by environment variables. The script is created
as expected. But the script is never run. After some debugging, I
discovered that the source package's .drv file does not define any output:

    Derivce([],[…inputs…])

What can be the reason for this?

Some background (the whole source can be found at
https://gitlab.digitalcourage.de/htgoebel/guix/-/tree/HG-rebar-build-system):

    (source
     (origin
       (method hexpm-fetch)
       (uri "https://repo.hex.pm/tarballs/getopt-1.0.1.tar")
       (sha256
        (base32 "1fhqnn4dvcil12cmqmzkmlk14lq5rn7ingld2380i6nl8v2dvm48"))))

and hexpm-fetch returns

  (mlet %store-monad ((guile (package->derivation guile system)))
    (gexp->derivation (pk (or name file-name)) build
                       … more arguments))

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |



             reply	other threads:[~2020-06-22 14:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-22 14:07 Hartmut Goebel [this message]
2020-06-25 13:45 ` Derivation is missing output Hartmut Goebel

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=97123365-9ebd-c7dd-a48b-97e5f041d454@crazy-compilers.com \
    --to=h.goebel@crazy-compilers.com \
    --cc=guix-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.
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).