Re: guix system: error: service 'ssh-daemon' requires 'networking', which is undefined

2016-07-20 Thread Jan Synáček
On Tue, Jul 19, 2016 at 2:43 PM, Ludovic Courtès wrote: > I improved the message along these lines in commit > 2c2ec261a8d3c37e5147038f47ad24c57cde4134, let me know what you think. > > To be more concrete about other improvements, here’s what should be > feasible (but needs to be discussed to see

Re: ‘guix publish’ now compresses archives

2016-07-20 Thread Ricardo Wurmus
Tomáš Čech writes: > First, I'm not saying that we should do that for every archive, but I > think that having a way how to automatically export this information > would be great and I see it as a week point for using Guix packages as > alternative to Snappy or Flatpak. Agreed. I think it’s un

Re: ‘guix publish’ now compresses archives

2016-07-20 Thread Ricardo Wurmus
Thompson, David writes: > On Wed, Jul 20, 2016 at 9:05 AM, Tomáš Čech wrote: > >> First, I'm not saying that we should do that for every archive, but I >> think that having a way how to automatically export this information >> would be great and I see it as a week point for using Guix packages

Re: [PATCH] gnu: Add lrzip.

2016-07-20 Thread Eric Bavier
Hello Tobias, Thanks for the patch. A few comments: On Thu, 21 Jul 2016 00:54:13 +0200 Tobias Geerinckx-Rice wrote: > * gnu/packages/compression.scm (lrzip): New variable. > --- > gnu/packages/compression.scm | 32 > 1 file changed, 32 insertions(+) > > diff

[PATCH] gnu: Add elixir.

2016-07-20 Thread Pjotr Prins
Sorry for the new thread. But this time the patch is readable from all mailers (supporting UTF8). Please comment. Pj.

[no subject]

2016-07-20 Thread Pjotr Prins
From 5fd8f64794b27f59f6688177a7a9e532b5d57f01 Mon Sep 17 00:00:00 2001 Date: Tue, 19 Jul 2016 11:13:27 + Subject: [PATCH] gnu: Add elixir. To: guix-devel@gnu.org From: Pjotr Prins References: <578e47d0.i8ovns6khzhqzvnc%pjotr.publi...@thebird.nl> * gnu/packages/elixir.scm: New file. * gnu/loc

[PATCH] gnu: Add lrzip.

2016-07-20 Thread Tobias Geerinckx-Rice
* gnu/packages/compression.scm (lrzip): New variable. --- gnu/packages/compression.scm | 32 1 file changed, 32 insertions(+) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 6a17003..26467a4 100644 --- a/gnu/packages/compression.scm

IcedTea Java 8 font problems

2016-07-20 Thread Danny Milosavljevic
On Thu, 16 Jun 2016 08:55:40 +0200 Ricardo Wurmus wrote: > This looks font-related. Do you have files in ~/.java/fonts? If so, > maybe they are invalid? Nope. > The changes Leo submitted apply to IcedTea 6, but you are using 8. Yeah, sorry. In any case my problem persists across multiple upd

Re: Question about (properties `((python2-variant . ,(delay XXX)))) and name resolution

2016-07-20 Thread Danny Milosavljevic
Hi, On Wed, 20 Jul 2016 12:15:34 +0200 Ricardo Wurmus wrote: > Ah, an executable. If this is not to be used as a library/module does > it even make sense to build it with different versions of Python? If > all you care about is the executables then having a variant with only > the latest versi

Re: [PATCH 1/2] gnu: Add allegro.

2016-07-20 Thread Ricardo Wurmus
Thompson, David writes: > On Tue, Jul 19, 2016 at 4:57 PM, Ricardo Wurmus wrote: >> * gnu/packages/game-development.scm (allegro): New variable. >> --- >> gnu/packages/game-development.scm | 41 >> +++ >> 1 file changed, 41 insertions(+) >> >> diff --git a/

Re: [PATCH 17/17] gnu: Add emacs-solarized-theme.

2016-07-20 Thread Ricardo Wurmus
Alex Kost writes: > Alex Kost (2016-07-15 16:57 +0300) wrote: > >> Ricardo Wurmus (2016-07-13 00:05 +0300) wrote: >> >>> * gnu/packages/emacs.scm (emacs-solarized-theme): New variable. >>> --- >>> gnu/packages/emacs.scm | 24 >>> 1 file changed, 24 insertions(+) >>> >>>

Re: ‘guix publish’ now compresses archives

2016-07-20 Thread Tomáš Čech
On Wed, Jul 20, 2016 at 09:12:53AM -0400, Thompson, David wrote: On Wed, Jul 20, 2016 at 9:05 AM, Tomáš Čech wrote: First, I'm not saying that we should do that for every archive, but I think that having a way how to automatically export this information would be great and I see it as a week p

Re: ???guix publish??? as a content-addressed file server

2016-07-20 Thread John Darrington
It sounds like a usefull capability. But presumably it depends on your localhost having a TCP/IP stack and a http server installed. It would be better if it could just use a socket or even just the filesystem. J' On Wed, Jul 20, 2016 at 05:25:30PM +0200, Ludovic Court??s wrote: Hi!

‘guix publish’ as a content-addressed file server

2016-07-20 Thread Ludovic Courtès
Hi! Until now, if hydra.gnu.org had a source file in its store (the result of an ‘origin’), you could get it via substitutes. However, with substitutes disabled, hydra.gnu.org was of no help, even though it did have the source file. Commit ff6638d112d794c9c433731643711932452fd2ff helps address t

[no subject]

2016-07-20 Thread Pjotr Prins
From 5fd8f64794b27f59f6688177a7a9e532b5d57f01 Mon Sep 17 00:00:00 2001 Date: Tue, 19 Jul 2016 11:13:27 + Subject: [PATCH] gnu: Add elixir. To: guix-devel@gnu.org From: Pjotr Prins * gnu/packages/elixir.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. --- gnu/local.mk

Re: ‘guix publish’ now compresses archives

2016-07-20 Thread Thompson, David
On Wed, Jul 20, 2016 at 9:05 AM, Tomáš Čech wrote: > First, I'm not saying that we should do that for every archive, but I > think that having a way how to automatically export this information > would be great and I see it as a week point for using Guix packages as > alternative to Snappy or Fla

Re: ‘guix publish’ now compresses archives

2016-07-20 Thread Tomáš Čech
On Wed, Jul 20, 2016 at 01:20:26PM +0200, Ricardo Wurmus wrote: Tomáš Čech writes: On Tue, Jul 19, 2016 at 04:23:14PM +0200, Ricardo Wurmus wrote: Tomáš Čech writes: Imagine situation where person A is running some distribution with Guix package manager on top and has some set of his per

Re: [PATCH 2/2] gnu: Add allegro-5.0.

2016-07-20 Thread Thompson, David
On Wed, Jul 20, 2016 at 1:52 AM, Ricardo Wurmus wrote: > > Thompson, David writes: > >> On Tue, Jul 19, 2016 at 4:57 PM, Ricardo Wurmus wrote: >>> * gnu/packages/game-development.scm (allegro-5.0): New variable. >> >> I assume you have a use-case that calls for keeping multiple versions >> of Al

Re: [PATCH] gnu: cross-libc: Cross build the correct libc for GNU/Hurd systems.

2016-07-20 Thread Manolis Ragkousis
Hello, On 07/20/16 10:16, Vincent Legoll wrote: > Hello, > > There's a lot of things specific to hurd in there, wouldn't that better > be located in a separate hurd.scm or something like that ? > Well in the way I handle it in the patch, cross-libc no longer contains any headers at all. Cross-

Re: ‘guix publish’ now compresses archives

2016-07-20 Thread Ricardo Wurmus
Tomáš Čech writes: > On Tue, Jul 19, 2016 at 04:23:14PM +0200, Ricardo Wurmus wrote: >> >>Tomáš Čech writes: >> >>> Imagine situation where person A is running some distribution with >>> Guix package manager on top and has some set of his personal packages >>> containing additional patches whic

Re: [PATCH 1/4] lint: Add packages with suffix ':bin' to 'inputs-should-be-native'.

2016-07-20 Thread Efraim Flashner
On Wed, Jul 20, 2016 at 12:50:49PM +0200, David Craven wrote: > Hi > > > I think packages with a “bin” output are not always used as native > > inputs, so I would drop this rule. > > From searching the code-base we have I couldn't find a counter example. Do > you think it's ok to check for glib:b

Re: [PATCH 4/4] environment: Add '--debug' flag.

2016-07-20 Thread David Craven
Oh, that sounds exactly like what I was looking for. I guess it's time to take the emacs plunge... Thanks! David

Re: [PATCH 1/4] lint: Add packages with suffix ':bin' to 'inputs-should-be-native'.

2016-07-20 Thread David Craven
Hi > I think packages with a “bin” output are not always used as native > inputs, so I would drop this rule. >From searching the code-base we have I couldn't find a counter example. Do you think it's ok to check for glib:bin specifically? Thanks David

Re: [PATCH 1/4] lint: Add packages with suffix ':bin' to 'inputs-should-be-native'.

2016-07-20 Thread Ludovic Courtès
Hi! David Craven skribis: > * guix/scripts/lint.scm (check-inputs-should-be-native): Check that packages > with suffix ':bin' and 'intltool', 'itstool' are in native-inputs. I think packages with a “bin” output are not always used as native inputs, so I would drop this rule. However, the rule

Re: [PATCH 4/4] environment: Add '--debug' flag.

2016-07-20 Thread Ludovic Courtès
Hi! David Craven skribis: > This is one of the three improvements I was thinking about. I thought > I'd start with low hanging fruit. The other two are: > > 1. I'd like to use overlay fs (like docker) and create a new overlay > for each phase to easily revert a phase. That would be fun. I thin

Re: [PATCH] gnu: Add elixir.

2016-07-20 Thread Ludovic Courtès
Leo Famulari skribis: > On Tue, Jul 19, 2016 at 05:38:50PM +0200, Pjotr Prins wrote: [...] >> I have been writing about my ups and downs in creating a package >> for the Elixir programming language, see >> >> https://github.com/pjotrp/guix-notes/blob/master/ELIXIR.org > > I think this is a w

Re: Question about (properties `((python2-variant . , (delay XXX)))) and name resolution

2016-07-20 Thread Ludovic Courtès
Danny Milosavljevic skribis: > I tried that, but I still can't do > > $ guix package -i ptpython-2 > > because: > > guix package: error: ptpython: package not found for version 2 [...] > (name "ptpython-2" In the former command-line package specification syntax, which is still su

Re: Question about (properties `((python2-variant . , (delay XXX)))) and name resolution

2016-07-20 Thread Ricardo Wurmus
Danny Milosavljevic writes: > Hi Leo, > > On Tue, 19 Jul 2016 23:58:23 -0400 > Leo Famulari wrote: > >> In this case, it looks like the Python 2 variant of the package is the >> same as the Python 3 variant, aside from the Python version. So, you >> should be able to drop the (properties `((pyt

Re: gnutls 'name-constraints' test failure

2016-07-20 Thread Ludovic Courtès
Leo Famulari skribis: > On Tue, Jul 19, 2016 at 01:05:35PM -0400, Leo Famulari wrote: >> On Tue, Jul 19, 2016 at 03:02:13PM +0200, Ludovic Courtès wrote: >> > So GnuTLS already doesn’t build on core-updates, right? In that case, >> > we should go ahead an update it. >> >> I built 3.5.2 on maste

Re: CPAN recursive importer?

2016-07-20 Thread Ricardo Wurmus
Eric Bavier writes: > On 2016-07-19 15:37, Danny Milosavljevic wrote: >> Hi, >> >> is there a recursive importer for CPAN that outputs all the >> 'define-public I'd need to add to perl.scm ? I'm trying to package >> spamassassin and it needs a *lot* of perl packages we don't have yet. > > No.

[PATCH v2] gnu: Add ptpython, ptpython-2.

2016-07-20 Thread Danny Milosavljevic
* gnu/packages/python.scm (ptpython, ptpython-2): New variables. Signed-off-by: Danny Milosavljevic --- gnu/packages/python.scm | 35 +++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index b9d61dd..626ad51 100644

Python install paths

2016-07-20 Thread Efraim Flashner
I've been working slowly on getting onionshare packaged, and I've run into a problem with the install phase. Normally everything just works, but our --prefix=%out doesn't seem to overide the sys.prefix install path in some setup.py files. The one in onionshare has some that look like this: (os.path

Re: [PATCH 4/4] environment: Add '--debug' flag.

2016-07-20 Thread Pjotr Prins
On Wed, Jul 20, 2016 at 10:18:19AM +0300, Alex Kost wrote: > According to the source ('%patch-path' from (gnu packages) module), > patches should be placed directly in your "/home/dannym/.local/guix" > directory (not in "patches" subdir). Maybe it would be an idea to also search in ./patches - it

Re: [PATCH] gnu: Add ptpython, ptpython-2.

2016-07-20 Thread Hartmut Goebel
Am 20.07.2016 um 09:30 schrieb Danny Milosavljevic: > + "Python REPL build on top of prompt_toolkit") I did not understand what is meant and had to search the internet for "REPL". Please do not use this abbreviation, but expand it, Also to description should be more verbose IMHO. As of now i

Re: dmidecode + flashrom problems on GuixSD?

2016-07-20 Thread Danny Milosavljevic
> /dev/mem mmap failed: Operation not permitted > ./flash: line 131: 3752 Segmentation fault $flashrom -p > internal -w "$rompath" Try running it under gdb $ gdb --args flashrom -p ... (gdb) r ... Segmentation fault (gdb) bt

Re: dmidecode + flashrom problems on GuixSD?

2016-07-20 Thread ng0
There seems to be some problem later in the flash script or in some file or binary it calls additionally - in ubuntu live dvd it showed equal messages but went on. /dev/mem was also protected at first. -- ♥Ⓐ ng0 For non-prism friendly talk find me on http://www.psyced.org SecuShare – http://secus

Re: [PATCH 4/4] environment: Add '--debug' flag.

2016-07-20 Thread Vincent Legoll
>> ~$ echo $GUIX_PACKAGE_PATH >> /home/dannym/.local/guix >> ~/.local/guix/gnu/packages$ ls >> patches/ pythonb.scm pythonc.scm rust.scm >> >> The files look just like the ones in the guix git repo. (last time I tried, >> "patches"/ actually didn't work - it doesn't find them. Everything else

[PATCH] gnu: Add ptpython, ptpython-2.

2016-07-20 Thread Danny Milosavljevic
* gnu/packages/python.scm (ptpython, ptpython-2): New variables. Signed-off-by: Danny Milosavljevic --- gnu/packages/python.scm | 33 + 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index b9d61dd..2325c20 100644 -

Re: Question about (properties `((python2-variant . ,(delay XXX)))) and name resolution

2016-07-20 Thread Danny Milosavljevic
Hi Leo, On Tue, 19 Jul 2016 23:58:23 -0400 Leo Famulari wrote: > In this case, it looks like the Python 2 variant of the package is the > same as the Python 3 variant, aside from the Python version. So, you > should be able to drop the (properties `((python2-variant ...) line from > the python-p

Re: [PATCH 4/4] environment: Add '--debug' flag.

2016-07-20 Thread Alex Kost
Danny Milosavljevic (2016-07-19 23:11 +0300) wrote: > Hello Tobias, > >> Then again, I haven't used GUIX_PACKAGE_PATH & friends yet, so I've no >> idea how (un)pleasant it is. > > ~$ echo $GUIX_PACKAGE_PATH > /home/dannym/.local/guix > ~/.local/guix/gnu/packages$ ls > patches/ pythonb.scm python

Re: [PATCH] gnu: cross-libc: Cross build the correct libc for GNU/Hurd systems.

2016-07-20 Thread Vincent Legoll
Hello, There's a lot of things specific to hurd in there, wouldn't that better be located in a separate hurd.scm or something like that ? -- Vincent Legoll

Re: [PATCH 17/17] gnu: Add emacs-solarized-theme.

2016-07-20 Thread Alex Kost
Alex Kost (2016-07-15 16:57 +0300) wrote: > Ricardo Wurmus (2016-07-13 00:05 +0300) wrote: > >> * gnu/packages/emacs.scm (emacs-solarized-theme): New variable. >> --- >> gnu/packages/emacs.scm | 24 >> 1 file changed, 24 insertions(+) >> >> >> diff --git a/gnu/packages/em