Subject: bug#58495: closed (Re: bug#58495: opam import generates wrong check phase)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 28 Jan 2023 21:07:02 +0000

Your bug report

#58495: opam import generates wrong check phase

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
58495: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58495
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#58495: opam import generates wrong check phase
From: Julien Lepiller <[email-masked]>
To: Csepp <[email-masked]>
Cc: [email-masked]
Date: Sat, 28 Jan 2023 22:06:06 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Le Sat, 28 Jan 2023 20:28:59 +0100,
Csepp <[email-masked]> a écrit :

> Julien Lepiller <[email-masked]> writes:
> 
> > Le Thu, 13 Oct 2022 18:16:18 +0200,
> > Csepp <[email-masked]> a écrit :
> >  
> >> Julien Lepiller <[email-masked]> writes:
> >>   
> >> > Maybe this could be fixed in the dune-build-system?
> >> >    
> >> Actually, good call.  I'll look into it, unless you want to take a
> >> stab at it.  
> >
> > With the test-target argument removed, do you consider this fixed?  
> 
> Yup, it's fixed now, thanks for closing these.

Closing, thanks

Subject: opam import generates wrong check phase
From: Csepp <[email-masked]>
To: Bug reports for GNU Guix <[email-masked]>
Date: Thu, 13 Oct 2022 17:03:43 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

So I'm working on building MirageOS unikernels with Guix, which means
using the OPAM importer *a lot*, which unearths some very Fun TM bugs.
Here is the first one:

guix import opam mirage-clock

The correct check phase is this:
```
(replace 'check
           (lambda* (#:key tests? #:allow-other-keys)
             (invoke "dune" "runtest" "--release")))
```