Re: Emacs interface for Guix

2014-07-21 Thread Alex Kost
Ludovic Courtès (2014-07-20 23:47 +0400) wrote: Alex Kost alez...@gmail.com skribis: Ludovic Courtès (2014-07-20 18:08 +0400) wrote: Alex Kost alez...@gmail.com skribis: Yes, that's what concerned me since the very beginning – unique entities should have unique identifiers, i.e. ideally

Re: System installation from a USB stick

2014-07-21 Thread Adam Pribyl
On Sun, 20 Jul 2014, Ludovic Courtès wrote: Adam Pribyl pri...@lowlevel.cz skribis: On Sat, 19 Jul 2014, Ludovic Courtès wrote: Adam Pribyl pri...@lowlevel.cz skribis: Sorry, I was completely wrong, the new liveUSB has e2fsprogs, however I probably do have the problem with ahci module

[PATCH 2/2] gnu, guix: Add a gzip package which includes tests, and use it where possible.

2014-07-21 Thread John Darrington
* gnu/packages/base.scm: Replace gzip with untested-gzip. * gnu/packages/bootstrap.scm: Replace gzip with untested-gzip. * gnu/packages/compression.scm: gzip - untested-gzip. Add gzip. * gnu/packages/make-bootstrap.scm: Replace gzip with untested-gzip. * guix/packages.scm: Replace gzip with

Re: [PATCH v3 1/2] guix ui: add the depends field to package-recutils:

2014-07-21 Thread Ludovic Courtès
Cyril Roelandt tipec...@gmail.com skribis: * guix/packages.scm (package-direct-inputs): New procedure. * tests/packages.scm: Test it. * guix/ui.scm (package-recutils): Print the dependencies of the package. OK! “ui:” is enough in the subject line. + (format port depends: ~a~% +

Re: [PATCH v2 1/2] guix ui: add the depends field to package-recutils:

2014-07-21 Thread Ludovic Courtès
Cyril Roelandt tipec...@gmail.com skribis: On 07/18/2014 01:26 AM, Ludovic Courtès wrote: (match (package-direct-inputs p) (((labels packages . _) ...) (string-join (sort packages package?) , ))) Not sure why I'd need '. _' here, The pattern (labels packages . _)

Re: System installation from a USB stick

2014-07-21 Thread Ludovic Courtès
Adam Pribyl pri...@lowlevel.cz skribis: Kernel in dmesg identifies the device like /dev/sdf, doing mknod /dev/sdf b 8 80; mknod /dev/sdf1 b 8 81; mount /dev/sdf1 /mnt solves the problem. So definitely the drive is at sdf. It looks to me like there is some built in limit in udev for number of

Re: System installation from a USB stick

2014-07-21 Thread Adam Pribyl
On Mon, 21 Jul 2014, Ludovic Courtès wrote: Adam Pribyl pri...@lowlevel.cz skribis: Kernel in dmesg identifies the device like /dev/sdf, doing mknod /dev/sdf b 8 80; mknod /dev/sdf1 b 8 81; mount /dev/sdf1 /mnt solves the problem. So definitely the drive is at sdf. It looks to me like there

Re: System installation from a USB stick

2014-07-21 Thread Adam Pribyl
On Mon, 21 Jul 2014, Adam Pribyl wrote: this involved mount /dev/sdf1 /mnt/ cp -a /gnu /mnt/ mount -o bind /mnt/gnu /gnu from now on, the target /mnt/gnu is filling up during guix system init. it ends up with initializing operating system under /mnt copying '/gnu..glibc-2.19.locales'...

Re: Emacs interface for Guix

2014-07-21 Thread Alex Kost
Ludovic Courtès (2014-07-21 20:04 +0400) wrote: Alex Kost alez...@gmail.com skribis: I think current situation is very confusing to users. A user can't even install any package. What if he wants to install “guile” from “base.scm”? It’s possible, using ‘guix package -e’ (info (guix)

Re: System installation from a USB stick

2014-07-21 Thread Adam Pribyl
On Mon, 21 Jul 2014, Ludovic Courtès wrote: Adam Pribyl pri...@lowlevel.cz skribis: Kernel in dmesg identifies the device like /dev/sdf, doing mknod /dev/sdf b 8 80; mknod /dev/sdf1 b 8 81; mount /dev/sdf1 /mnt solves the problem. So definitely the drive is at sdf. It looks to me like there

Re: Emacs interface for Guix

2014-07-21 Thread Ludovic Courtès
Alex Kost alez...@gmail.com skribis: Ludovic Courtès (2014-07-21 20:04 +0400) wrote: [...] I think guix.el should be able to distinguish packages internally, so that when I choose, say, a specific “guile-2.0.11”, that’s really the one that gets installed (maybe it already does, I haven’t

Re: System installation from a USB stick

2014-07-21 Thread Ludovic Courtès
Adam Pribyl pri...@lowlevel.cz skribis: OK, solved. This was a bad idea to mount bind /mnt/gnu to /gnu, using a directory with a different name on /mnt/ - finished the installation. I’m surprised that it works at all, because at this point /mnt/gnu/store is basically empty, so if you

Re: System installation from a USB stick

2014-07-21 Thread Ludovic Courtès
Adam Pribyl pri...@lowlevel.cz skribis: On Mon, 21 Jul 2014, Ludovic Courtès wrote: Adam Pribyl pri...@lowlevel.cz skribis: Kernel in dmesg identifies the device like /dev/sdf, doing mknod /dev/sdf b 8 80; mknod /dev/sdf1 b 8 81; mount /dev/sdf1 /mnt solves the problem. So definitely the

Re: System installation from a USB stick

2014-07-21 Thread Ludovic Courtès
Adam Pribyl pri...@lowlevel.cz skribis: deco stop udev mount -t devtmpfs dev /dev deco start udev then /dev is correctly populated. This patch apparently does the trick similarly: diff --git a/gnu/services/base.scm b/gnu/services/base.scm index ae12c8e..31f1b74 100644 ---

[PATCH 0/2] Add guix lint.

2014-07-21 Thread Cyril Roelandt
Hello, The first patch adds the guix lint command, that can be used to run a few checkers on a given package, or on all defined packages. It can currently be used to: - warn users about input packages that should be native inputs (such as pkg-config); - find stylistic issues in patch names; -

[PATCH 1/2] scripts: add guix lint

2014-07-21 Thread Cyril Roelandt
* guix/scripts/lint.scm: New file. Defines a 'lint' tool for Guix packages. * Makefile.am (MODULES): Add it. --- Makefile.am | 1 + guix/scripts/lint.scm | 188 ++ 2 files changed, 189 insertions(+) create mode 100644

[PATCH 2/2] gnu/packages: Remove trailing periods in some synopses.

2014-07-21 Thread Cyril Roelandt
* gnu/packages/fontutils.scm (fontconfig): remove trailing period in synopsis. * gnu/packages/gnome.scm (gtkglext): Ditto. * gnu/packages/lua.scm (lua): Ditto. * gnu/packages/pdf.scm (xpdf): Ditto. * gnu/packages/python.scm (python-pytz, python2-pyicu): Ditto. * gnu/packages/sdl.scm (libmikmod):