From: ludo@gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas@enge.fr>
Cc: bug-guix@gnu.org
Subject: Re: [PATCH] gnu: Add OCaml. licenses: Add QPL.
Date: Mon, 21 Jan 2013 23:42:07 +0100 [thread overview]
Message-ID: <87y5fm5fb4.fsf@gnu.org> (raw)
In-Reply-To: <201301212125.29802.andreas@enge.fr> (Andreas Enge's message of "Mon, 21 Jan 2013 21:25:29 +0100")
Andreas Enge <andreas@enge.fr> skribis:
> Am Montag, 21. Januar 2013 schrieb Ludovic Courtès:
>> Alternately, you could move the ‘check’ phase after the install phase,
>> like this (untested):
>
> But then, if the check fails, the /nix/store would contain an "invalid"
> package, no?
No: if ‘check’ fails (or ‘install’, or ‘patch-shebangs’), then the whole
process fails, and the store path is marked as invalid.
That is, /nix/store/*-ocaml* exists and may even be populated, but
‘valid-path?’ returns #f for that directory. Thus, the daemon considers
that it has to rebuild it, as if it did not exist at all.
Thanks,
Ludo’.
next prev parent reply other threads:[~2013-01-21 22:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-21 1:45 [PATCH] gnu: Add OCaml. licenses: Add QPL Cyril Roelandt
2013-01-21 9:43 ` Andreas Enge
2013-01-21 20:18 ` Ludovic Courtès
2013-01-21 20:25 ` Andreas Enge
2013-01-21 22:42 ` Ludovic Courtès [this message]
2013-01-23 20:16 ` [PATCH v2] " Cyril Roelandt
2013-01-23 23:06 ` 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=87y5fm5fb4.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=andreas@enge.fr \
--cc=bug-guix@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).