[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fixing --check saying outputs not valid

From: Dave Love
Subject: Re: fixing --check saying outputs not valid
Date: Wed, 13 Sep 2017 14:27:17 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Ludovic Courtès <address@hidden> writes:

> Dave Love <address@hidden> skribis:
>>> Then you can run “guix build hwloc --check -L --no-grafts”, which will
>>> build hwloc locally and raise an error if hwloc:{out,lib} are not
>>> bit-identical to what you had in store.
>> [Should that be documented as the procedure to use?]
> I think this is documented, but if you think it’s not or not in the
> right place, please tell!

I don't remember where I found out about using --check when packaging.
The manual doesn't mention --no-grafts in connexion with --check as far
as I can see.  I'd add something like

  You probably want to use --check with the --no-grafts option when
  checking a package you are developing, so that it gets rebuilt.

>> The trouble is that I don't get a second build with --check:
>>   $ ./pre-inst-env guix build hwloc --check -L --no-grafts
>                                               ^^^^
> “--no-grafts” is taken as an argument to ‘-L’, and thus you only rebuilt
> the grafting derivation:

Thanks.  I shouldn't just do what I'm told :-/.  However, I don't
understand why -L is needed, or what the path should be.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]