Re: Installing Guix on foreign distros

2016-02-10 Thread Ricardo Wurmus

Tomáš Čech  writes:

> On Tue, Feb 09, 2016 at 11:36:24AM +0100, Ludovic Courtès wrote:
>>There are already people who wrote Arch/Parabola and RPM (openSuSE)
>>packages, AFAIK.  I’m not sure what the status is?
>
> For openSUSE ecosystem I maintain package in system:packagemanagers
> project of our Open Build Service. It means it doesn't live in the
> main package repository but it is easy to install.
>
>  
> https://software.opensuse.org/download/package?project=system:packagemanager=guix
>
> I'm trying to push that to the main distribution but for that the
> package may need some more work because I need to get rid of foreign
> binaries (the ones in
> $PREFIX/share/guile/site/2.0/gnu/packages/bootstrap/). So `zypper in
> guix' for all openSUSE users is still my goal.

The bootstrap binaries form the roots of the dependency graph.
Modifying them results in different hashes for all packages.  I learned
this when a colleague accidentally modified these files in our
deployment, which made Guix refuse all of the substitutes from Hydra and
instead rebuilt the world locally.

I don’t think you can realistically get rid of them.

~~ Ricardo



Re: Installing Guix on foreign distros

2016-02-10 Thread Tomáš Čech

On Tue, Feb 09, 2016 at 11:36:24AM +0100, Ludovic Courtès wrote:

There are already people who wrote Arch/Parabola and RPM (openSuSE)
packages, AFAIK.  I’m not sure what the status is?


For openSUSE ecosystem I maintain package in system:packagemanagers
project of our Open Build Service. It means it doesn't live in the
main package repository but it is easy to install.

https://software.opensuse.org/download/package?project=system:packagemanager=guix

I'm trying to push that to the main distribution but for that the
package may need some more work because I need to get rid of foreign
binaries (the ones in
$PREFIX/share/guile/site/2.0/gnu/packages/bootstrap/). So `zypper in
guix' for all openSUSE users is still my goal.

Any help on that from Guix side would be appreciated.

Besides this, thanks to our the OBS I should be able to setup build
for other RPM distributions (Fedora, CentOS) but it wasn't my focus
now.

Best regards,

Tomas


signature.asc
Description: Digital signature


Re: Installing Guix on foreign distros

2016-02-10 Thread Jookia
On Wed, Feb 10, 2016 at 09:53:01AM +0100, Tomáš Čech wrote:
> I'm trying to push that to the main distribution but for that the
> package may need some more work because I need to get rid of foreign
> binaries (the ones in
> $PREFIX/share/guile/site/2.0/gnu/packages/bootstrap/). So `zypper in
> guix' for all openSUSE users is still my goal.
> 
> Any help on that from Guix side would be appreciated.
> 
> Besides this, thanks to our the OBS I should be able to setup build
> for other RPM distributions (Fedora, CentOS) but it wasn't my focus
> now.
> 
> Best regards,
> 
> Tomas

I brought this up a bit earlier in IRC but you could rebuild the bootstrap
binaries- but then they'd just be identical to the ones shipped. So are they
really foreign then?

Jookia.



Installing Guix on foreign distros

2016-02-09 Thread Ludovic Courtès
Pjotr Prins  skribis:

> On Mon, Feb 08, 2016 at 11:47:31AM -0800, Christopher Allan Webber wrote:
>> So, I talked about this with Stefano Zacchiroli while at FOSDEM.  He
>> suggested that we could do /opt/g/ or something like that and we *could*
>> get Guix in as a package manager to Debian.  Sure, it wouldn't be able
>> to use the Hydra packages, but it's probably okayish.
>
> Unless users get binaries they won't be happy.

+1

>> We could also build apt / rpm packages which we just provide ourselves,
>> on the Guix website, or by providing some PPA'ish thing.  I would have
>> preferred this myself when I started running Debian on Guix... and in
>> this route we could keep everything as it already is.  (But people will
>> have to take an extra step to "get to" those nice packages.)
>
> That looks like the way forward to me. Such a package can setup and
> start the daemon - which is enough. No need to get the blessing from
> the distributions themselves (will take time, but it will come - there
> really is no difference with allowing foreign packages to work anyway).

Yeah, I think you’re right.

There are already people who wrote Arch/Parabola and RPM (openSuSE)
packages, AFAIK.  I’m not sure what the status is?

If someone familiar with dpkg could chime in, we could host the
infrastructure to build the .deb somewhere.

Ludo’.