Re: hpcguix-web, channels, and inferiors

2018-10-04 Thread Ludovic Courtès
Hello,

Clément Lassieur  skribis:

> Ludovic Courtès  writes:
>
>> Hello Guix!
>>
>> There’s a little-known but neat program that Roel Janssen wrote called
>> hpcguix-web.  It’s a web UI (with JavaScript) that allows you to browse
>> packages; the UI can be customized, and Roel’s institution, for
>> instance, customizes it to provide instructions for their clusters.  You
>> can see it in action here:
>>
>>   https://guix-hpc.bordeaux.inria.fr/browse
>>
>> Until now hpcguix-web would just allow you to browse the list of
>> packages of the Guix it was built against (it used ’fold-packages’,
>> etc.)
>
> Would it make sense to integrate it into Cuirass?  We could browse
> packages on Cuirass and to each package would be associated a link to
> its build status on different architectures, etc.
>
> What do you think?

Good question.  Some sort of integration is desirable, with links as you
mention.  Now Cuirass is not specifically about packages, conceptually
at least, so IMO having both features in the same tool would “break the
abstraction.”

What we could do, though, is run hpcguix-web and Cuirass on the same
machine, and customize hpcguix-web such that it includes links to
Cuirass builds, for example.  hpcguix-web already provides a level of
customization that should make it easy.

WDYT?

Thanks,
Ludo’.



guile-next package needs new native-search-paths

2018-10-04 Thread Thompson, David
Hey everyone,

First of all: Thanks, Ludo, for the new guile-next package.  I tried
building it myself but couldn't figure out how to make the test suite
pass.

There's just one small issue: The native search paths are wrong.  They
are using the 2.2 search paths currently and thus you can't use it
as-is to develop projects that depend on other Guile libraries. The
fix is just to add this to the package recipe:

(native-search-paths
 (list (search-path-specification
(variable "GUILE_LOAD_PATH")
(files '("share/guile/site/3.0")))
   (search-path-specification
(variable "GUILE_LOAD_COMPILED_PATH")
(files '("lib/guile/3.0/site-ccache"
 "share/guile/site/3.0")

Any objection to me pushing a commit that does this to master?

- Dave



Re: hpcguix-web, channels, and inferiors

2018-10-04 Thread Clément Lassieur
Hello Ludovic,

Ludovic Courtès  writes:

> Hello,
>
> Clément Lassieur  skribis:
>
>> Ludovic Courtès  writes:
>>
>>> Hello Guix!
>>>
>>> There’s a little-known but neat program that Roel Janssen wrote called
>>> hpcguix-web.  It’s a web UI (with JavaScript) that allows you to browse
>>> packages; the UI can be customized, and Roel’s institution, for
>>> instance, customizes it to provide instructions for their clusters.  You
>>> can see it in action here:
>>>
>>>   https://guix-hpc.bordeaux.inria.fr/browse
>>>
>>> Until now hpcguix-web would just allow you to browse the list of
>>> packages of the Guix it was built against (it used ’fold-packages’,
>>> etc.)
>>
>> Would it make sense to integrate it into Cuirass?  We could browse
>> packages on Cuirass and to each package would be associated a link to
>> its build status on different architectures, etc.
>>
>> What do you think?
>
> Good question.  Some sort of integration is desirable, with links as you
> mention.  Now Cuirass is not specifically about packages, conceptually
> at least, so IMO having both features in the same tool would “break the
> abstraction.”

Yes I agree.  I wonder though: is there a way to know if a specific
derivation is a package?

> What we could do, though, is run hpcguix-web and Cuirass on the same
> machine, and customize hpcguix-web such that it includes links to
> Cuirass builds, for example.  hpcguix-web already provides a level of
> customization that should make it easy.

Sounds good!

Clément