Re: Creating a docker image with Guix

2017-01-02 Thread Jan Nieuwenhuizen
Ricardo Wurmus writes: > I just played around with Docker and built up a command to create a > Docker image for Emacs. Nice! > Can anyone find a more elegant way to do this? > > guix environment --ad-hoc \ > coreutils bash emacs-no-x-toolkit -- \ > sh -c 'tar -c $(guix gc --requisites

Re: Bad signature on commit 6a34f4ccc8a5d (gnu: python-prompt-toolkit: Update to 1.0.9.)

2017-01-02 Thread Leo Famulari
On Mon, Jan 02, 2017 at 09:59:20PM +0100, Ludovic Courtès wrote: > I’m all for adding it to the repo and recommending it in HACKING. > > Leo? I've attached a patch. I'm not sure where to store the hook. signature.asc Description: PGP signature

Re: [PATCH] gnu: arc-theme: Update to 20161119

2017-01-02 Thread Leo Famulari
On Mon, Jan 02, 2017 at 09:06:02PM +, Brandon Ludwig wrote: > Brandon Ludwig, I think. Okay, I did this using `git commit --amend --author="Brandon Ludwig "`. > Also, the commit message should include a description of the changes at > the "file-level". In this case, that

Re: Chicken security bugs [was Re: [pe...@more-magic.net: Irregex packages should be updated to 0.9.6]]

2017-01-02 Thread Leo Famulari
On Sun, Jan 01, 2017 at 11:04:33PM -0500, Kei Kebreau wrote: > Ah, this works excellently. Thanks for the pointer! The two attached > patches should do the trick. > From 41ce29321b21edc698a9ed2ce6dab09f2d190d50 Mon Sep 17 00:00:00 2001 > From: Kei Kebreau > Date: Sun, 1 Jan

Re: [PATCH] Add PDF support to Gimp

2017-01-02 Thread Leo Famulari
On Sun, Jan 01, 2017 at 10:38:22PM -0800, Maxim Cournoyer wrote: > Hi Guix! > > This is to add poppler as an input to our Gimp package, which allows > Gimp to open PDF files for edition. > > From c8a16befd95a3072a77c8dda3472e0eed95c6925 Mon Sep 17 00:00:00 2001 > From: Maxim Cournoyer

Re: pycrypto buffer overflow (potentially affects onionshare and other packages)

2017-01-02 Thread Leo Famulari
On Mon, Jan 02, 2017 at 09:41:26PM +0100, Ludovic Courtès wrote: > Leo Famulari skribis: > > Based on my discussion with the Stem maintainer, I removed pycrypto from > > the dependency graph of OnionShare and added a comment about removing > > the pycrypto package in

WIP patch: build-system: cargo: Make lots and lots of rust packages work

2017-01-02 Thread Danny Milosavljevic
For it to work, you also have to back out the (cons "src" outputs) (in ./guix/build-system/cargo.scm) and the (assoc-ref outputs "src") (in guix/build/cargo-build-system.scm) starting from current master. --- guix/build/cargo-build-system.scm 2017-01-03 04:31:01.691543854 +0100 +++

[PATCH v2] build-system: cargo: Add #:cargo-build-flags keyword argument.

2017-01-02 Thread Danny Milosavljevic
* guix/build-system/cargo.scm (cargo-build): Add #:cargo-build-flags keyword argument. --- guix/build-system/cargo.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guix/build-system/cargo.scm b/guix/build-system/cargo.scm index ffc0afda3..011ea9c57 100644 ---

[PATCH] build-system: cargo: Add #:cargo-build-flags keyword argument.

2017-01-02 Thread Danny Milosavljevic
* guix/build-system/cargo.scm (cargo-build): Add #:cargo-build-flags keyword argument. --- guix/build-system/cargo.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guix/build-system/cargo.scm b/guix/build-system/cargo.scm index ffc0afda3..011ea9c57 100644 ---

Re: cargo-build-system: cargo-build-flags: --cfg=unix in package recipe

2017-01-02 Thread Danny Milosavljevic
> It still can't pick up transitive dependencies but hey :P Aha! It can - if one uses propagated-inputs in the package recipes. I think the importer should propagate inputs if the current package is Rust-source-only. Otherwise packages further down the dependency graph (further to the clients)

Re: Creating a docker image with Guix

2017-01-02 Thread Christopher Allan Webber
Ricardo Wurmus writes: > Hi Guix, > > I just played around with Docker and built up a command to create a > Docker image for Emacs. > > Can anyone find a more elegant way to do this? > > --8<---cut here---start->8--- > guix environment --ad-hoc \ >

Re: cargo-build-system: cargo-build-flags: --cfg=unix in package recipe

2017-01-02 Thread Danny Milosavljevic
It was missing in guix/build-system/cargo.scm cargo-build as a keyword parameter. Adding (define* (cargo-build store name inputs #:key (tests? #t) (test-target #f) - (configure-flags #f) +

Re: [PATCH 2/5] gnu: Add python-gpg.

2017-01-02 Thread Leo Famulari
On Mon, Jan 02, 2017 at 08:39:52PM -0500, Leo Famulari wrote: > * gnu/packages/gnupg.scm (python-gpg, python2-gpg): New variable. I forgot to disable the test suite for this package. AFAICT, tests are not distributed with it. Currently the build succeeds due to a bug in python-build-system.

[PATCH 5/5] gnu: assword: Update to 0.10.

2017-01-02 Thread Leo Famulari
* gnu/packages/password-utils.scm (assword): Update to 0.10. [arguments]: Use Python 3 instead of Python 2. [inputs]: Use Python 3 variants of inputs. Replace python2-pygpgme with python-gpg. Remove python2-pygtk. Add python-pygobject. [native-inputs]: Replace help2man with txt2man. [arguments]:

[PATCH 1/5] gnu: gpgme: Update to 1.8.0.

2017-01-02 Thread Leo Famulari
* gnu/packages/gnupg.scm (gpgme): Update to 1.8.0. [arguments]: Don't set 'GPG=gpg2' in #:configure-flags. GnuPG-2.x is installed as 'gpg' on Guix. --- gnu/packages/gnupg.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm

[PATCH 4/5] gnu: Add python-xdo.

2017-01-02 Thread Leo Famulari
* gnu/packages/python.scm (python-xdo): New variable. (python2-xdo): Use package-with-python2. --- gnu/packages/python.scm | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 4d5018bf3..f0eb5e01f 100644 ---

[PATCH 3/5] gnu: python2-xdo: Update to 0.3.

2017-01-02 Thread Leo Famulari
* gnu/packages/python.scm (python2-xdo): Update to 0.3. --- gnu/packages/python.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index fce62175b..4d5018bf3 100644 --- a/gnu/packages/python.scm +++

[PATCH 2/5] gnu: Add python-gpg.

2017-01-02 Thread Leo Famulari
* gnu/packages/gnupg.scm (python-gpg, python2-gpg): New variable. --- gnu/packages/gnupg.scm | 27 +++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index 4a7b323b4..5eef3678a 100644 --- a/gnu/packages/gnupg.scm +++

cargo-build-system: cargo-build-flags: --cfg=unix in package recipe

2017-01-02 Thread Danny Milosavljevic
Hi, so it seems I got the cargo-build-system to work for large-ish Rust dependency trees now. It still can't pick up transitive dependencies but hey :P However, some of the Rust crates have a "windows" target which fails. For these I'd like to pass "--cfg=unix" and I'd like to put it into the

Re: [PATCH 11/12] gnu: Add rust-rand.

2017-01-02 Thread Danny Milosavljevic
This is missing a native-input rust-log for the tests.

Re: [PATCH 02/10] gnu: Add propeller-binutils.

2017-01-02 Thread Ludovic Courtès
Ricardo Wurmus skribis: > Ludovic Courtès writes: [...] >>> + (native-inputs >>> + `(("bison" ,bison) >>> + ("flex" ,flex) >>> + ("texinfo" ,texinfo) >>> + ("dejagnu" ,dejagnu) >> >> The test failures you see are because you

Re: Thoughts on GuixSD and IDS like AIDE and Tripwire

2017-01-02 Thread Ludovic Courtès
Hi! dian_ce...@zoho.com skribis: > P.S. On second thought (and after a cup of coffee), could the database file be > generated using the same format programs like md5sum, sha1sum, et al use so > we'd > just have to run (for example) md5sum -C database? That sounds like a good idea to complement

Re: Creating a docker image with Guix

2017-01-02 Thread Ludovic Courtès
Hello! Ricardo Wurmus skribis: > I just played around with Docker and built up a command to create a > Docker image for Emacs. Fun! > Can anyone find a more elegant way to do this? > > guix environment --ad-hoc \ > coreutils bash emacs-no-x-toolkit -- \ >

Re: Misguided translations in Guix

2017-01-02 Thread Ludovic Courtès
John Darrington skribis: > Looking at po/guix/*.po I can see a number of instances where the > copyright notice appears to have translated the word "Copyright" > to the target language. > > This should not be done. The English word "Copyright" has legal meaning, >

Re: [PATCH 1/1] gnu: Add sonic.

2017-01-02 Thread Ludovic Courtès
Leo Famulari skribis: > * gnu/packages/speech.scm (sonic): New variable. LGTM, thank you! Ludo’.

Re: Guix build side - including modules (guix hash), (guix gcrypt): How to provide shared library?

2017-01-02 Thread Ludovic Courtès
David Craven skribis: >> Also, why is sha256 used via FFI via an external library? It's not exactly >> difficult to implement in Guile :P > > I'm not sure we want to write our own crypto primitives... And it's > not quite as trivial, I don't know or care what a Newton-Raphson >

Re: [PATCH] gnu: Add cmst.

2017-01-02 Thread Ludovic Courtès
Mathieu OTHACEHE skribis: > * gnu/packages/connman.scm (cmst): New variable. Pushed as 5819431c5912bfa7ab22434c59e02dc4c7d19d93, thanks! Ludo’.

Re: [PATCH] gnu: Enable polkit for connman

2017-01-02 Thread Ludovic Courtès
Hi! Mathieu OTHACEHE skribis: > Connman was compiled without polkit support due to this error message during > configure phase : > > pkg-config cannot find polkit.pc > > It is a meaningless error produced by the following lines in > connman/configure.ac : > >

Cuirass and duplicate derivations

2017-01-02 Thread Ludovic Courtès
Hello! Cuirass is almost up and running on the new machine! :-) The last problem I experienced is this: --8<---cut here---start->8--- evaluate 'gfortran-4.9.4.x86_64-linux': 0.136 seconds evaluate 'gfortran-4.9.4.x86_64-linux': 0.000 seconds Backtrace: In

Re: riscv cross toolchain - C_INCLUDE_PATH

2017-01-02 Thread Ludovic Courtès
Hi! David Craven skribis: > I'm trying to build a riscv cross toolchain. Why do I have to reset > C_INCLUDE_PATH to get glibc to build? It seems to me that all the > cross packages shouldn't be in the C_INCLUDE_PATH. Some insight would > be greatly appreciated. > > export >

Re: [PATCH 2/2] build-system: cargo: Use correct cargo.

2017-01-02 Thread Ludovic Courtès
David Craven skribis: > * gnu/packages/rust.scm (cargo-bootstrap): Make private. > * guix/build-system/cargo.scm (default-cargo): Use cargo. > * guix/build/cargo-build-system.scm (install): Pass correct path to > --root. Please push once patch #1 is in. Thanks! Ludo’.

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

2017-01-02 Thread Ludovic Courtès
Hi! Chris Marusich skribis: > David Craven writes: > >>> I understand that this is some sort of mechanism to enable cargo to build >>> things >>> offline, but is it appropriate to put all of those other packages' >>> source into the "cargo" package that

Re: [PATCH 1/2] gnu: hplip: Add qt5 gui.

2017-01-02 Thread Ludovic Courtès
Hi! ng0 skribis: > * gnu/packages/cups.scm (hplip): Add gui. > [arguments](configure-flags): Add "--enable-gui-build", "--disable-qt4", > "--enable-qt5". > [inputs]: Add python-pyqt, python-pygobject and python-sip. Seems like this would multiply the closure of

Re: Bad signature on commit 6a34f4ccc8a5d (gnu: python-prompt-toolkit: Update to 1.0.9.)

2017-01-02 Thread Ludovic Courtès
Hello Guix! Tobias Geerinckx-Rice skribis: > On 29/12/16 03:10, Leo Famulari wrote: >> gpg: BAD signature from "Tobias Geerinckx-Rice " > > Oh dear. > >> Does anyone else get the same result? Any ideas? > > I do, so it's a real® corrupted signature. It’s a valid

Re: pycrypto buffer overflow (potentially affects onionshare and other packages)

2017-01-02 Thread Ludovic Courtès
Leo Famulari skribis: > On Mon, Dec 26, 2016 at 01:08:44PM -0500, Leo Famulari wrote: >> On Mon, Dec 26, 2016 at 12:43:44PM -0500, Leo Famulari wrote: >> > The list of our packages that use pycrypto: >> >> [...] >> >> > onionshare-0.9.2 >> >> This comes through

Re: [PATCH] gnu: Use hurd-triplet? to check if GNU/Hurd.

2017-01-02 Thread Manolis Ragkousis
Hello Kei, On 2 January 2017 at 22:11, Kei Kebreau wrote: > > LGTM. I assume this one will be pushed to master as well? > > P.S. Is there currently a way to successfully build the bootstrap > binaries for Hurd from Guix on x86_64 Linux? If you merge master into

Re: [PATCH] gnu: Add beep.

2017-01-02 Thread José Miguel Sánchez García
On 2017-01-02 20:10, José Miguel Sánchez García wrote: Add beep command. Quick edit: Remove redundant (assoc-ref %outputs "out") with a let binding. -- José Miguel Sánchez GarcíaFrom 777c91a14817929d37e4cc60a80f3b3f078fe9a4 Mon Sep 17 00:00:00 2001 From:

[no subject]

2017-01-02 Thread manolis837
Hello everyone, The idea behind this patch is to remove the ugly (string-match (or "i586-pc-gnu" "i586-gnu") ...) I had everywhere. Manolis

[PATCH] gnu: Add beep.

2017-01-02 Thread José Miguel Sánchez García
Add beep command. -- José Miguel Sánchez GarcíaFrom 62188944da4e42ed46662ca2cc812cced70b0aed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Miguel=20S=C3=A1nchez=20Garc=C3=ADa?= Date: Mon, 2 Jan 2017 20:52:24 +0100 Subject: [PATCH] gnu: Add beep. *

Re: [PATCH] guix: build: make-bootstrap: Copy libpthread_nonshared.a to the new system.

2017-01-02 Thread David Craven
Hi Manolis, I don't think anyone can argue with that. Thank you for fixing my ignorance of the issue. LGTM. David

Re: [PATCH] guix: build: make-bootstrap: Copy libpthread_nonshared.a to the new system.

2017-01-02 Thread Manolis Ragkousis
Sometimes I forget that people can't see what I think in my head :P On 01/02/17 20:25, David Craven wrote: >>(define %libc-object-files-rx "^(crt.*|ld.*|lib(c|m|dl|rt|pthread|nsl|\ >> -util).*\\.so(\\..*)?|lib(machuser|hurduser).so.*|libc(rt|)_nonshared\\.a)$") >>

Re: [PATCH] guix: build: make-bootstrap: Copy libpthread_nonshared.a to the new system.

2017-01-02 Thread David Craven
>(define %libc-object-files-rx "^(crt.*|ld.*|lib(c|m|dl|rt|pthread|nsl|\ > -util).*\\.so(\\..*)?|lib(machuser|hurduser).so.*|libc(rt|)_nonshared\\.a)$") > +util).*\\.so(\\..*)?|lib(machuser|hurduser).so.*|(libc(rt|)|libpthread)\ > +_nonshared\\.a)$") Adding libpthread_nonshared.a increases

Re: [PATCH] gnu: glibc-hurd: Disable werror.

2017-01-02 Thread Manolis Ragkousis
Hello David, As it only changes glibc/hurd it will not cause any rebuilds. If no one objects I will push it to master. Manolis On 01/02/17 19:57, David Craven wrote: > LGTM. Does it need to go into core-updates?

Re: [PATCH] gnu: glibc-hurd: Disable werror.

2017-01-02 Thread David Craven
LGTM. Does it need to go into core-updates?

[PATCH] gnu: glibc-hurd: Disable werror.

2017-01-02 Thread manolis837
From: Manolis Ragkousis * gnu/packages/base.scm (glibc/hurd)[arguments]: Add "--disable-werror". --- gnu/packages/base.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index 50c306009..c75e03828 100644 ---

[PATCH] guix: build: make-bootstrap: Copy libpthread_nonshared.a to the new system.

2017-01-02 Thread manolis837
From: Manolis Ragkousis * guix/build/make-bootstrap.scm (%libc-object-files-rx): Update regexp. --- guix/build/make-bootstrap.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/guix/build/make-bootstrap.scm b/guix/build/make-bootstrap.scm index

[PATCH 4/4] gnu: ocaml-findlib: Update to 1.7.1.

2017-01-02 Thread David Craven
* gnu/packages/ocaml.scm (ocaml-findlib)[arguments]: Move ocaml-findlib-make-install.patch to phase and set ldconf="ignore" in findlib.conf.in. * gnu/local.mk (dist_patch_DATA): Remove old patch. --- gnu/local.mk | 1 - gnu/packages/ocaml.scm

[PATCH 3/4] gnu: Reorder imports in (gnu packages ocaml).

2017-01-02 Thread David Craven
* gnu/packages/ocaml.scm: Reorder imports alphabetically. --- gnu/packages/ocaml.scm | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index f6b79f75c..f962be8d4 100644 ---

[PATCH 1/4] gnu: Use 'license:' prefix in (gnu packages ocaml).

2017-01-02 Thread David Craven
* gnu/packages/ocaml.scm (ocaml, opam, camlp4, camlp5, hevea, coq, proof-general, ocaml-menhir, lablgtk, unison, ocaml-findlib)[license]: Add prefix. --- gnu/packages/ocaml.scm | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git

[PATCH 2/4] gnu: Add ocaml-zarith.

2017-01-02 Thread David Craven
* gnu/packages/ocaml.scm (ocaml-zarith): New variable. --- gnu/packages/ocaml.scm | 39 +++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 7bb9c6d7d..f6b79f75c 100644 --- a/gnu/packages/ocaml.scm +++

[PATCH 7/7] gnu: Add idris-lens.

2017-01-02 Thread David Craven
* gnu/packages/haskell.scm (idris-lens): New variable. --- gnu/packages/haskell.scm | 26 ++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 4fb6032bf..a88f0aa48 100644 --- a/gnu/packages/haskell.scm +++

[PATCH 2/7] gnu: Order module imports in (gnu packages haskell) alphabetically.

2017-01-02 Thread David Craven
* gnu/packages/haskell.scm: Order module imports alphabetically. --- gnu/packages/haskell.scm | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 8e5927a00..b4f225160 100644 ---

[PATCH 4/7] gnu: Add idris-lightyear.

2017-01-02 Thread David Craven
* gnu/packages/haskell.scm (idris-lightyear, idris-default-arguments): New variables. --- gnu/packages/haskell.scm | 71 1 file changed, 71 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index c55386e2f..2e31c0dbb

[PATCH 3/7] gnu: idris: Update to 0.99.

2017-01-02 Thread David Craven
* gnu/packages/haskell.scm (idris): Update to 0.99. --- gnu/packages/haskell.scm | 55 1 file changed, 28 insertions(+), 27 deletions(-) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index b4f225160..c55386e2f 100644 ---

[PATCH 1/7] git-download: Add some helpers.

2017-01-02 Thread David Craven
* guix/git-download.scm (git-version, git-file-name): New variables. --- guix/git-download.scm | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/guix/git-download.scm b/guix/git-download.scm index 81d1d4fbf..c453aaa6d 100644 --- a/guix/git-download.scm +++

[PATCH 6/7] gnu: Add idris-bifunctors.

2017-01-02 Thread David Craven
* gnu/packages/haskell.scm (idris-bifunctors): New variable. --- gnu/packages/haskell.scm | 24 1 file changed, 24 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index bc6d6d4b1..4fb6032bf 100644 --- a/gnu/packages/haskell.scm +++

Re: [PATCH] gnu: arc-theme: Update to 20161119

2017-01-02 Thread Leo Famulari
On Mon, Jan 02, 2017 at 07:51:10AM +, Brandon Ludwig wrote: > Hello, > > > this patch updates arc-theme to 20161119. >From 3e694bb4e38e6380a2113cb7bc656b85be2aa511 Mon Sep 17 00:00:00 2001 From: bldtg Date: Sun, 1 Jan 2017 21:30:41 -0900 Subject: [PATCH] gnu: arc-theme:

Re: guix build fails: can't change into `/var/tmp/guix-build-...drv-0'

2017-01-02 Thread Leo Famulari
On Mon, Jan 02, 2017 at 04:17:02PM +0100, Hartmut Goebel wrote: > Hi, > > I just upgraded to guix-0.12.0-2.b291 and now can not build (nor even > download) any longer: > > guix build: error: build failed: while setting up the build environment: > changing into

Re: guix build fails: can't change into `/var/tmp/guix-build-...drv-0'

2017-01-02 Thread Leo Famulari
On Mon, Jan 02, 2017 at 04:17:02PM +0100, Hartmut Goebel wrote: > Hi, > > I just upgraded to guix-0.12.0-2.b291 and now can not build (nor even > download) any longer: > > guix build: error: build failed: while setting up the build environment: > changing into

Re: [PATCH 4/4 v2] gnu: Add bpython.

2017-01-02 Thread Hartmut Goebel
Am 02.01.2017 um 17:33 schrieb Hartmut Goebel: > * gnu/packages/python.scm (bpython, bpython2): New variables. This update changes the following: a) renamed the vairables to bpython resp. bpython2, since these are "programms", not python llibraries b) For bpython2 rename the scripts to

[PATCH 4/4 v2] gnu: Add bpython.

2017-01-02 Thread Hartmut Goebel
* gnu/packages/python.scm (bpython, bpython2): New variables. --- gnu/packages/python.scm | 72 + 1 file changed, 72 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 04f7a66..56ed7f8 100644 ---

Re: Getting rid of "source file .. newer than compiled" messages

2017-01-02 Thread John Darrington
On Mon, Jan 02, 2017 at 01:40:47PM +0100, Hartmut Goebel wrote: Hi, when developing packages, esp. when switching branches, I get lots of messages like this: ;;; note: source file ???/guix/gnu/packages/tor.scm ;;; newer than compiled

Re: Creating a docker image with Guix

2017-01-02 Thread John Darrington
On Mon, Jan 02, 2017 at 01:54:30PM +0100, Ricardo Wurmus wrote: Hi Guix, I just played around with Docker and built up a command to create a Docker image for Emacs. Can anyone find a more elegant way to do this? "Docker" and "elegant" are two concepts which

Re: Thoughts on GuixSD and IDS like AIDE and Tripwire

2017-01-02 Thread dian_cecht
On Sun, Jan 01, 2017 at 06:56:09AM +, Pjotr Prins wrote: > Yes, you can do a challenge build. Not all builds are fully > deterministic yet, so you there will be conflicts. I use guix publish > on a server, so I can compare the stores on two machines for > comparison which ought to be

Re: Creating a docker image with Guix

2017-01-02 Thread Ricardo Wurmus
Pjotr Prins writes: > On Mon, Jan 02, 2017 at 01:54:30PM +0100, Ricardo Wurmus wrote: >> I just played around with Docker and built up a command to create a >> Docker image for Emacs. >> >> Can anyone find a more elegant way to do this? > > Not really - you always

guix build fails: can't change into `/var/tmp/guix-build-...drv-0'

2017-01-02 Thread Hartmut Goebel
Hi, I just upgraded to guix-0.12.0-2.b291 and now can not build (nor even download) any longer: guix build: error: build failed: while setting up the build environment: changing into `/var/tmp/guix-build-pyte-0.5.2.tar.gz.drv-0': No such file or directory Please note that I' running the daemon

Re: Getting rid of "source file .. newer than compiled" messages

2017-01-02 Thread Ricardo Wurmus
Hartmut Goebel writes: > Am 02.01.2017 um 14:23 schrieb Danny Milosavljevic: >> Run make >> >> Or am I misunderstanding what you mean? > > I meant without running make after each little change :-) If you don’t run make Guile will interpret the changed files and

Re: Creating a docker image with Guix

2017-01-02 Thread Pjotr Prins
On Mon, Jan 02, 2017 at 01:54:30PM +0100, Ricardo Wurmus wrote: > I just played around with Docker and built up a command to create a > Docker image for Emacs. > > Can anyone find a more elegant way to do this? Not really - you always end up with something like this. We have run the guix daemon,

[PATCH] gnu: arc-theme: Update to 20161119

2017-01-02 Thread Brandon Ludwig
Hello, this patch updates arc-theme to 20161119. 0001-gnu-arc-theme-Update-to-20161119.patch Description: 0001-gnu-arc-theme-Update-to-20161119.patch

Re: Guix build side - including modules (guix hash), (guix gcrypt): How to provide shared library?

2017-01-02 Thread David Craven
I find it useful to look at the generated drv (/gnu/store/asr76labrpqq0kcg64yni0sqsxj0d30y-rust-gtk-0.1.1.drv) and build script (/gnu/store/hash-rust-gtk-0.1.1.builder) and see if those make sense. Sounds like a hard problem dough. Good luck! :) I notice you haven't rebased yet, I added a couple

Re: Creating a docker image with Guix

2017-01-02 Thread Hartmut Goebel
Hi Ricardo, this is really cool! Creating a docker image without even using the "scratch" image. > Can anyone find a more elegant way to do this? I'd suggest to write a small shell-script which dumps the part after "sh -c" into a temporary file. This makes this part more readable. The script

Re: Guix build side - including modules (guix hash), (guix gcrypt): How to provide shared library?

2017-01-02 Thread Danny Milosavljevic
Hi David, On Mon, 2 Jan 2017 11:06:27 +0100 David Craven wrote: > > how can I use (guix hash) on the build side? It requires the libgcrypt > > shared library and that's not available on the build side... > > Depends. For a one off package I'd add it to native-inputs.

Re: [PATCH 1/4] gnu: Add python-pbkdf2.

2017-01-02 Thread Hartmut Goebel
Am 02.01.2017 um 14:32 schrieb Carlo Zancanaro: > +(synopsis "PKCS#5 v2.0 PBKDF2 Module") > +(description "This module implements the password-based key derivation > +function, PBKDF2, specified in RSA PKCS#5 v2.0.") Please be less cryptic in the synopsis. "password-based key derivation"

Re: [PATCH 2/4] gnu: Add python-qrcode.

2017-01-02 Thread Hartmut Goebel
Am 02.01.2017 um 14:32 schrieb Carlo Zancanaro: > +(description "This module uses image libraries, Python Imaging > +Library (PIL) by default, to generate QR Codes.") Please be a bit more verbose here. AFAIK qr is also able to output QR-codes to the console. -- Regards Hartmut Goebel |

[PATCH 4/4] gnu: Add electrum.

2017-01-02 Thread Carlo Zancanaro
* gnu/packages/finance.scm (electrum): New variable. --- gnu/packages/finance.scm | 51 1 file changed, 51 insertions(+) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 792482782..ee90c38eb 100644 ---

[PATCH 2/4] gnu: Add python-qrcode.

2017-01-02 Thread Carlo Zancanaro
* gnu/packages/python.scm (python-qrcode, python2-qrcode): New variables. --- gnu/packages/python.scm | 24 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 2841830f0..9afb2f0b1 100644 --- a/gnu/packages/python.scm +++

[PATCH 3/4] gnu: Add python2-slowaes

2017-01-02 Thread Carlo Zancanaro
* gnu/packages/python.scm (python2-slowaes): New variable. --- gnu/packages/python.scm | 22 ++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 9afb2f0b1..eb238fc1e 100644 --- a/gnu/packages/python.scm +++

[PATCH 1/4] gnu: Add python-pbkdf2.

2017-01-02 Thread Carlo Zancanaro
* gnu/packages/python.scm (python-pbkdf2, python2-pbkdf2): New variables. --- gnu/packages/python.scm | 25 + 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index fce62175b..2841830f0 100644 --- a/gnu/packages/python.scm

[PATCH 0/4] Add electrum

2017-01-02 Thread Carlo Zancanaro
These patches are to add Electrum, a Bitcoin client. The three python libraries are the only dependencies that weren't already packaged. They're mostly just from the pypi importer and they seem correct to me. Carlo Zancanaro (4): gnu: Add python-pbkdf2. gnu: Add python-qrcode. gnu: Add

Re: Getting rid of "source file .. newer than compiled" messages

2017-01-02 Thread David Craven
> How can I get rid of these? By running make. It speeds up subsequent builds, so I find it a good idea to run make when I get too many of these.

Re: Getting rid of "source file .. newer than compiled" messages

2017-01-02 Thread Hartmut Goebel
Am 02.01.2017 um 14:23 schrieb Danny Milosavljevic: > Run make > > Or am I misunderstanding what you mean? I meant without running make after each little change :-) -- Regards Hartmut Goebel | Hartmut Goebel | h.goe...@crazy-compilers.com | | www.crazy-compilers.com |

Re: Getting rid of "source file .. newer than compiled" messages

2017-01-02 Thread Danny Milosavljevic
Hi, On Mon, 2 Jan 2017 13:40:47 +0100 Hartmut Goebel wrote: > Hi, > > when developing packages, esp. when switching branches, I get lots of > messages like this: > > ;;; note: source file …/guix/gnu/packages/tor.scm > ;;; newer than compiled

Re: Creating a docker image with Guix

2017-01-02 Thread David Craven
> What do you think? Gross? Cool!

Creating a docker image with Guix

2017-01-02 Thread Ricardo Wurmus
Hi Guix, I just played around with Docker and built up a command to create a Docker image for Emacs. Can anyone find a more elegant way to do this? --8<---cut here---start->8--- guix environment --ad-hoc \ coreutils bash emacs-no-x-toolkit -- \ sh -c

Getting rid of "source file .. newer than compiled" messages

2017-01-02 Thread Hartmut Goebel
Hi, when developing packages, esp. when switching branches, I get lots of messages like this: ;;; note: source file …/guix/gnu/packages/tor.scm ;;; newer than compiled …/guix/gnu/packages/tor.go How can I get rid of these? -- Regards Hartmut Goebel | Hartmut Goebel |

Re: Guix build side - including modules (guix hash), (guix gcrypt): How to provide shared library?

2017-01-02 Thread David Craven
> how can I use (guix hash) on the build side? It requires the libgcrypt shared > library and that's not available on the build side... Depends. For a one off package I'd add it to native-inputs. Otherwise you can create a new build-system that wraps the gnu-build-system and extend the