Re: [PATCH 9/9] gnu: Add weston.

2016-09-06 Thread David Craven
Pushed. but just realized now that I should have pushed to core-updates, since it requires patches from core-updates. Most builds will probably fail until core-updates is merged... Sorry about that.

Re: wip v2 u-boot support

2016-09-06 Thread David Craven
Hi Danny, Looks nice! I'll see if I can get guixsd to boot a beaglebone black I've got lying around, probably this weekend (maybe earlier, I'd like to finish my work on hawaii and plymouth first). It looks like getting qemu to boot guixsd on arm is harder than I expected... Thanks! David

Re: 02/11: activation: Allow home directories to be created under /var/lib.

2016-09-06 Thread David Craven
>> + (mkdir-p "/var/lib") >‘mkdir’ should be enough. I initially used mkdir-p...

Re: [PATCH] service: Honor #:log-file in make-forkexec-constructor.

2016-09-06 Thread David Craven
>> Not syslog, but helps with debugging... > That definitely helps - however, in the long run, I think that using syslog > is better. I agree, but someone has to write it... > Syslog does the splitting up in different files (or not) and onto different > machines > (or not), filtering (or not),

Re: [PATCH 9/9] gnu: Add weston.

2016-09-07 Thread David Craven
> Did you test this? > Pushed. but just realized now that I should have pushed to > core-updates, since it requires patches from core-updates. Most builds > will probably fail until core-updates is merged... Sorry about that.

Re: [PATCH] gnu: Simplify dtc package definition.

2016-09-07 Thread David Craven
LGTM. Are these changes part of the debian patchset?

Re: [PATCH v2] gnu: Add rust

2016-09-07 Thread David Craven
I haven't actually built rustc yet, because I know how long it takes... > + (ld-so (string-append > + (assoc-ref inputs "libc") > + ,(glibc-dynamic-linker))) > + ;; Remove reference to "/li

Re: [PATCHv2 1/2] gnu: Add wlc.

2016-09-07 Thread David Craven
> This results in it saying it can't find wayland. He's probably using the mesa enable wayland flags patch from core-updates...

Re: Alice, Bob's brother

2016-09-07 Thread David Craven
You could have just pushed without submitting to ML xD

Re: [PATCH] gnu: Simplify dtc package definition.

2016-09-08 Thread David Craven
Why aren't you using git format-patch? :) git format-patch -1 git send-email *.patch --to guix-devel@gnu.org is what I do... >From what I can tell you are doing git diff > file.patch?

Re: [PATCH] gnu: Simplify dtc package definition.

2016-09-08 Thread David Craven
Hi Danny, I don't have any special settings configured, just the default. Your patches are missing a header like this one: >From fc0e6e2ae96b0586035de96c65cfd08186ceb28a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 7 Sep 2016 21:02:28 +0300 Subject: [PATCH] gnu: lightweight-desktop

Re: [PATCH] gnu: Simplify dtc package definition.

2016-09-08 Thread David Craven
Hi Danny, So when there's an attachment I git am the attachment. Don't know if that's how it's supposed to be done. The attachment starts at --2.9.1, so it doesn't include the commit information. Thanks for looking into this, hopefully we can move to gitlab soon =P David

Re: wip v2 u-boot support

2016-09-08 Thread David Craven
Hi Danny, I'm testing your new u-boot code. I fixed a few bugs, but there is still some work to do... ;-) guix system vm u-boot-test.scm --no-grub This should work without giving any errors and boot (it doesn't matter that u-boot is built for arm). And after booting there should be the extlinux.

Re: [PATCH] services: Add kmscon service.

2016-09-08 Thread David Craven
Nice! Thanks!

Linux kernel

2016-09-08 Thread David Craven
I reworked the patches for the linux-libre package and made some other improvements that make customizing the linux-libre package easier. I tested that everything builds and that there wasn't any breakage on x86_64, but testing the arm kernel on real hardware is a wip. Is it easier if I push a bran

Re: wip v2 u-boot support

2016-09-09 Thread David Craven
It still doesn't work. Can you please also include gnu system u-boot in the patch? or make it a separate patch if you want. It's nice if you can simply apply (all required) patches and things just work. I expect patches to work before I spend time looking at the code, but maybe I'm just old fashion

[PATCH 03/17] gnu: linux-libre: Use system->architecture.

2016-09-09 Thread David Craven
* gnu/packages/linux.scm (linux-libre): Use system->architecture. --- gnu/packages/linux.scm | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index e19712f..1544811 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packa

[PATCH 01/17] gnu: module-init-tools: Prevent line wrapping.

2016-09-09 Thread David Craven
* gnu/packages/linux.scm (module-init-tools): Break line. --- gnu/packages/linux.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 030e35e..260017b 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1

[PATCH 05/17] gnu: linux-libre: Move kernel configuration to configure phase.

2016-09-09 Thread David Craven
* gnu/packages/linux.scm (linux-libre)[arguments]: Add configure phase. --- gnu/packages/linux.scm | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 369a232..436f3d3 100644 --- a/gnu/packages/linux.scm +++ b/gnu/pa

[PATCH 09/17] gnu: dtc: Remove patch-paths phase.

2016-09-09 Thread David Craven
From: Danny Milosavljevic * gnu/packages/u-boot.scm (dtc)[arguments]: Remove patch-paths phase. [configure-flags]: Add INSTALL. Signed-off-by: David Craven --- gnu/packages/u-boot.scm | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/gnu/packages/u-boot.scm b

[PATCH 06/17] gnu: linux-libre: Add support for cross-compilation.

2016-09-09 Thread David Craven
* gnu/packages/linux.scm (linux-libre): Add support for cross-compilation. --- gnu/packages/linux.scm | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 436f3d3..ce714c6 100644 --- a/gnu/packages/linux.scm +++

[PATCH 08/17] gnu: make-linux-libre: Add additional-configuration parameter.

2016-09-09 Thread David Craven
* gnu/packages/linux.scm (linux-libre): Use %default-additional-kernel-configuration. (%default-additional-kernel-configuration): New variable. --- gnu/packages/linux.scm | 32 ++-- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/gnu/packages/linux.s

[PATCH 11/17] gnu: Add make-linux-libre-source.

2016-09-09 Thread David Craven
* gnu/packages/linux-libre.scm (make-linux-libre-source): New variable. (linux-libre, linux-libre-4.4, linux-libre-4.1): Use make-linux-libre-source. (linux-libre-urls): Remove. --- gnu/packages/linux.scm | 60 +- 1 file changed, 30 insertions(

[PATCH 16/17] gnu: Add linux-libre-multi-v7.

2016-09-09 Thread David Craven
* gnu/packages/linux.scm (linux-libre-multi-v7): New variable. --- gnu/packages/linux.scm | 9 + 1 file changed, 9 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 384b674..2eadae2 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -399,6 +

[PATCH 07/17] gnu: linux-libre: Use make-linux-libre.

2016-09-09 Thread David Craven
* gnu/packages/linux.scm (linux-libre, linux-libre-4.4, linux-libre-4.1): Use make-linux-libre. (make-linux-libre): New variable. --- gnu/packages/linux.scm | 78 ++ 1 file changed, 34 insertions(+), 44 deletions(-) diff --git a/gnu/packages/lin

[PATCH 15/17] gnu: make-linux-libre: Add supported-systems parameter.

2016-09-09 Thread David Craven
* gnu/packages/linux.scm (make-linux-libre): Add supported-systems parameter. --- gnu/packages/linux.scm | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 62870a4..384b674 100644 --- a/gnu/packages/linux.scm +++ b/gnu

[PATCH 12/17] gnu: make-linux-libre: Add extra-version parameter.

2016-09-09 Thread David Craven
* gnu/packages/linux.scm (make-linux-libre): Add extra-version option. --- gnu/packages/linux.scm | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 6771bd2..f2e6887 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/

[PATCH 14/17] gnu: linux-libre: Use kmod.

2016-09-09 Thread David Craven
* gnu/packages/linux.scm (make-linux-libre): Use kmod. --- gnu/packages/linux.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 37bdbf4..62870a4 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -29

[PATCH 17/17] gnu: Add linux-libre-beagle-bone-black.

2016-09-09 Thread David Craven
* gnu/packages/linux.scm (linux-libre-beagle-bone-black): New variable. --- gnu/packages/linux.scm | 9 + 1 file changed, 9 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 2eadae2..2320a08 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@

[PATCH 13/17] gnu: make-linux-libre: Add zImage to output.

2016-09-09 Thread David Craven
* gnu/packages/linux.scm (make-linux-libre): Add zImage to output. --- gnu/packages/linux.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index f2e6887..37bdbf4 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm

[PATCH 02/17] gnu: linux-libre: Use modify-phases.

2016-09-09 Thread David Craven
* gnu/packages/linux.scm (linux-libre): Use modify-phases. --- gnu/packages/linux.scm | 80 -- 1 file changed, 39 insertions(+), 41 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 260017b..e19712f 100644 --- a/gnu/pac

[PATCH 04/17] gnu: linux-libre: Apply %boot-logo patch in origin.

2016-09-09 Thread David Craven
* gnu/packages/linux.scm (linux-libre)[origin]: Apply %boot-logo patch in origin. --- gnu/packages/linux.scm | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 1544811..369a232 100644 --- a/gnu/packages/linux.scm +++

[PATCH 10/17] gnu: Add u-boot-beagle-bone-black.

2016-09-09 Thread David Craven
* gnu/packages/u-boot.scm (u-boot-beagle-bone-black): New variable. --- gnu/packages/u-boot.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/u-boot.scm b/gnu/packages/u-boot.scm index 7949d8a..0423163 100644 --- a/gnu/packages/u-boot.scm +++ b/gnu/packages/u-boot.scm @@ -131

Re: wip v2 u-boot support

2016-09-09 Thread David Craven
Hi Danny, > Anyway, attached gnu/system/u-boot.scm which it left off *again* (after git > add, even). (How is having a new file not a *diff*erence? Sigh) `git add -N .` adds untracked files to the list of tracked ones. git diff should then work as expected. I'm sorry to say that I can't apply y

Re: Linux kernel

2016-09-09 Thread David Craven
> Seems we already discussed some of these, no? Ah yes, I missed this, sorry - No need to comment on this patch again: >> Important note: (%current-target-system) returns a GNU triplet such as >> “arm-linux-gnueabihf”, whereas (%current-system) returns a “system type” >> such as “armhf-linux”. >

Re: GCC bootstrap failure on ARM

2016-09-10 Thread David Craven
> I’ve made some progress on this, as reported on bugzilla. I’m now > trying to bisect the issue; however, since the bootstrapping failure of > gcc-final is due to a problem that manifests in gcc-boot0, that’s a lot > of rebuild, and the machine I’m using (redhill) is slow. > > Anyway, we’ll have

Re: [WIP PATCH] gnu: add U-Boot support to operating-system configuration.

2016-09-10 Thread David Craven
Thanks Danny! Awesome work! =) I'm really excited to see this hitting master...

Re: [PATCH] gnu: Simplify dtc package definition.

2016-09-10 Thread David Craven
> Danny's message was not missing the header. You should use `git am` to > apply the email itself. @leo Ah, that explains it. Thanks! @danny sorry

Re: [PATCH] services: Add kmscon service.

2016-09-11 Thread David Craven
> Looking at the doc, I’m under the impression that this should also > depend on elogind no? (I think it needs to talk to elogind to tell it > about “seats” being used etc.) logind is an optional dependency. How do I make a shepherd service depend on a dbus-service?

Re: Linux kernel config maintainablility

2016-09-11 Thread David Craven
Hi Ludo, >> What difficulties did you encounter with using allmodconfig as a basis? > I forgot the details, but maybe the list archive has some info. Changing what already works doesn't make sense. For arm and new platforms I think we can go down the defconf route, since it's really simple now..

Re: [PATCH 01/16] gnu: Add python-pika.

2016-09-11 Thread David Craven
Indentation: +(source + (origin should be (source (origin +(home-page "https://pika.readthedocs.org";) +(synopsis "Pure Python AMQP Client Library") +(description + "Pika is a pure-Python implementation of the AMQP (Advanced Message Queuing +Protocol) 0-9-1 protocol that

Re: [PATCH 01/16] gnu: Add python-pika.

2016-09-11 Thread David Craven
the properties delay thing is missing, dunno if it's important

Re: [PATCH 06/16] gnu: Add python-graphql-relay.

2016-09-11 Thread David Craven
Same issues as in previous email. LGTM otherwise.

Re: [PATCH 13/16] gnu: Add python-nose2.

2016-09-11 Thread David Craven
> +(arguments `(#:tests? #f)) ; 'module' object has no attribute 'collector' > +(native-inputs > + `(("python-setuptools" ,python-setuptools))) > +(inputs > + `(("python-cov-core" ,python-cov-core) > + ("python-pytest-cov" ,python-pytest-cov) > + ("python-six" ,pytho

Re: [PATCH 03/16] gnu: Add python-promise.

2016-09-11 Thread David Craven
> +(define-public python2-promise > + (let ((promise (package-with-python2 > + (strip-python2-variant python-promise > +(package (inherit promise) > + (arguments (substitute-keyword-arguments (package-arguments promise) > + ((#:tests? _) #t))) I've

Re: [PATCH 04/16] gnu: Add python-pytest-mock.

2016-09-11 Thread David Craven
> + (inputs > + `(("python2-mock" ,python2-mock) > + ,@(package-inputs base)) Is python2-mock really an input and not a native-input?

Re: [PATCH 13/17] gnu: make-linux-libre: Add zImage to output.

2016-09-12 Thread David Craven
Yes. Newer U-Boot support booting from zImage (using command "bootz" on the U-Boot prompt). Nixos specifies a kernel target, is this necessary or are all arm kernels using zImage now?

Re: GCC bootstrap failure on ARM

2016-09-12 Thread David Craven
> ‘core-updates’ is now building with a tiny patch on gcc-4.9 (in fact > it’s enough to apply it to gcc-cross-boot0, which is interesting): Does this also fix the bootstrap failure with gcc 5? Or is that too late for this core-updates cycle?

Re: [PATCH v2] gnu: Add rust (sidenotes on rust)

2016-09-13 Thread David Craven
> How problematic will this be for us? Our person in charge for the rust > stuff works around this by including copies of the libraries in a folder > named 'third_party', but I don't understand enough of the language and > lack a build system at the moment. Initially this isn't a problem, since we

Re: Binutils build failure on MIPS

2016-09-13 Thread David Craven
> Could that explain the failure ? It's matched here: > mips64*el-*-linux-*)targ_emul=elf32ltsmipn32 I believe that the -*- part means any cpu model. Since it's a build failure you might get away with cross-compiling. Try passing --target mips64el-linux-gnu (or whatever the mipsel-gcc-toolch

Re: Binutils build failure on MIPS

2016-09-13 Thread David Craven
I highly doubt that binutils uses python, and I'm not sure why you think that this is a filename - so why would unix filename matching apply in this instance? There must be a match somewhere... Either mips64*el-*-linux means any cpu model or you've missed a part of the matching code. I remember GC

Re: Using arch for kernel config file breaks kernel builds

2016-09-14 Thread David Craven
> seems a commit yesterday (c258807a) broke kernel compilation on > i686. When searching for kernel configuration file, > system->linux-architecture reduces i686 to i386, but no matching > configuration file exists. Sorry about that. Thank you for reporting the issue. > I see two options: > 1) go

Re: [PATCH 02/12] import: utils: Symbols from 'license->symbol' have a license: prefix.

2016-09-16 Thread David Craven
> I just wanted to point out that this will not work for any cpan modules > that are destined for (gnu packages perl) if they don't use the Perl > license. I think that gnu/packages/perl.scm should be updated to use the license: prefix. I think that the importer should suggest a best practice. WD

Re: [PATCH 02/12] import: utils: Symbols from 'license->symbol' have a license: prefix.

2016-09-16 Thread David Craven
> AFAIK we haven't established module-level global symbol prefixing as best > practice. In gnu/packages/perl.scm it's unnecessary. It's a fact that if we don't establish a best practice, the (generic) importer code won't fit all importer implementations. Maybe you could have been a bit more vocal

Re: [WIP PATCH] gnu: add U-Boot support to operating-system configuration.

2016-09-17 Thread David Craven
> Did you test the vm part? I ran it and I can see that it starts up and > provides ssh, apparently, but I have no idea how to connect to its network. Works well. The only part I removed was the install-u-boot part so that it only installs the extlinux.conf. I think this is close to what we want

Re: [WIP PATCH] gnu: add U-Boot support to operating-system configuration.

2016-09-17 Thread David Craven
Hi Danny, Tested u-boot-beagle-bone-black, it boots arch linux arm after making some modifications. I managed to build the system natively and install it using guix system init. This required a few modifications here and there. There's a boot problem obviously - would be to easy if not. I ordered

[PATCH 03/12] import: Move string->license to importers.

2016-09-22 Thread David Craven
* guix/import/gem.scm (string->license): Move from (guix import utils). * guix/import/pypi.scm (string->license): Move from (guix import utils). --- guix/import/gem.scm | 13 - guix/import/pypi.scm | 13 - guix/import/utils.scm | 9 - 3 files changed, 24 inserti

[PATCH 11/12] gnu: Add cargo-bootstrap.

2016-09-22 Thread David Craven
* gnu/packages/rust.scm (cargo-bootstrap): New variable. --- gnu/packages/rust.scm | 40 1 file changed, 40 insertions(+) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 4030d18..33c1d5c 100644 --- a/gnu/packages/rust.scm +++ b/gnu/package

[PATCH 09/12] gnu: Add rust-bootstrap-x86_64-1.12.0.

2016-09-22 Thread David Craven
* gnu/packages/rust.scm (rust-bootstrap-x86_64-1.12.0): New variable. --- gnu/packages/rust.scm | 30 ++ 1 file changed, 30 insertions(+) create mode 100644 gnu/packages/rust.scm diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm new file mode 100644 index 000

[PATCH 01/12] import: Move json-fetch to (guix import utils).

2016-09-22 Thread David Craven
* guix/import/utils.scm (json-fetch): Move json-fetch from (guix import json). --- guix/import/cpan.scm | 1 - guix/import/gem.scm | 1 - guix/import/json.scm | 32 guix/import/pypi.scm | 1 - guix/import/utils.scm | 12 5 files changed, 12 i

[PATCH 04/12] import: utils: Add spdx-string->license.

2016-09-22 Thread David Craven
* guix/import/utils.scm (spdx-string->license): New variable. --- guix/import/utils.scm | 60 +++ 1 file changed, 60 insertions(+) diff --git a/guix/import/utils.scm b/guix/import/utils.scm index b5dcc17..ca00baf 100644 --- a/guix/import/utils.scm +

[PATCH 08/12] build-system: Add cargo build system.

2016-09-22 Thread David Craven
/guix/build-system/cargo.scm new file mode 100644 index 000..795d3b2 --- /dev/null +++ b/guix/build-system/cargo.scm @@ -0,0 +1,135 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016 David Craven +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free

[PATCH 05/12] import: utils: Refactor license->symbol.

2016-09-22 Thread David Craven
b/guix/import/utils.scm index ca00baf..8dab72a 100644 --- a/guix/import/utils.scm +++ b/guix/import/utils.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2014 David Thompson ;;; Copyright © 2015 Eric Bavier ;;; Copyright © 2016 Jelle Licht +;;; Copyright © 2016 David Craven ;;; ;;; This file is part

[PATCH 12/12] gnu: Add rust helper functions.

2016-09-22 Thread David Craven
* gnu/packages/rust.scm (crate-uri, system->rust-platform): New variables. --- gnu/packages/rust.scm | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 33c1d5c..ebb9727 100644 --- a/gnu/packages/rust.scm +++ b/gnu

[PATCH 06/12] import: Add importer for rust crates.

2016-09-22 Thread David Craven
create mode 100644 tests/crate.scm diff --git a/guix/import/crate.scm b/guix/import/crate.scm new file mode 100644 index 000..3cc17f2 --- /dev/null +++ b/guix/import/crate.scm @@ -0,0 +1,91 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016 David Craven +;;; +;;;

[PATCH 07/12] import: crate: Add crate updater.

2016-09-22 Thread David Craven
* guix/import/crate.scm (crate-package?, latest-release, %crate-updater): New variables. * guix/scripts/refresh.scm (%updaters): Add %crate-updater to list of updaters. * guix/upstream.scm (package-update): Use a url from the list when the find2 procedure doesn't find a url sig-url pair. ---

[PATCH 02/12] import: Reorder imports in (guix import utils).

2016-09-22 Thread David Craven
* guix/import/utils.scm (define-module): Reorder imports alphabetically. --- guix/import/utils.scm | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/guix/import/utils.scm b/guix/import/utils.scm index d19a6df..8535841 100644 --- a/guix/import/utils.scm +++ b/guix/impor

[PATCH 10/12] gnu: Add rustc-bootstrap.

2016-09-22 Thread David Craven
* gnu/packages/rust.scm (rustc-bootstrap): New variable. --- gnu/packages/rust.scm | 67 ++- 1 file changed, 66 insertions(+), 1 deletion(-) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 1831aa7..4030d18 100644 --- a/gnu/packages/

Re: [PATCH 04/12] import: utils: Add spdx-string->license.

2016-09-22 Thread David Craven
Hi, > SPDX seems to be a more general specification for licenses, but I still > wonder whether its appropriate for (guix import utils), since its used > only by the crate importer. The npm metadata also uses spdx identifiers. > Maybe also "cc-by-sa2.0"? Don't know you tell me :) I copied this f

Re: [PATCH 01/12] import: Move json-fetch to (guix import utils).

2016-09-22 Thread David Craven
> guile-json is an optional dependency for Guix. See > the manual and makefiles. I see, didn't know. > We can't do this I'm not sure that this is correct. >From the manual: > Installing Guile-JSON will allow you to use the guix > import pypi command (see Section 6.5 [Invoking guix > import], p

Re: [PATCH 01/12] import: Move json-fetch to (guix import utils).

2016-09-22 Thread David Craven
Just didn't see the point of having a file json.scm file there and found the name to be a little misleading, but ok.

Re: using Cuirass to track a guix packages' git

2016-09-23 Thread David Craven
I think the web interface and the json API are two different "projects". > just a matter of knowing how to do the javascript stuff. :) Many people think that JS is a toy language, JS the good parts is a weekend read (like 100p or something) that might change your perspective and covers everythin

[PATCH 3/6] gnu: make-linux-libre: Install device tree files.

2016-09-26 Thread David Craven
* gnu/packages/linux.scm (make-linux-libre): Install device tree files. --- gnu/packages/linux.scm | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index d8d14d4..243a71c 100644 --- a/gnu/packages/linux.scm +++

[PATCH 4/6] gnu: linux-libre-beagle-bone-black: Remove kernel variant.

2016-09-26 Thread David Craven
* gnu/packages/linux.scm (linux-libre-beagle-bone-black): Remove. --- gnu/packages/linux.scm | 7 --- 1 file changed, 7 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 243a71c..6f7986d 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -339,13

[PATCH 5/6] gnu: make-u-boot-package: Add files-to-install argument.

2016-09-26 Thread David Craven
* gnu/packages/u-boot.scm (make-u-boot-package): Add files-to-install. (u-boot-vexpress, u-boot-malta, u-boot-beagle-bone-black): Use files-to-install. --- gnu/packages/u-boot.scm | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/gnu/packages/u-b

[PATCH 6/6] gnu: make-u-boot-package: Don't cross compile on arm.

2016-09-26 Thread David Craven
* gnu/packages/u-boot.scm (make-u-boot-package): Don't cross compile on arm. --- gnu/packages/u-boot.scm | 29 + 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/gnu/packages/u-boot.scm b/gnu/packages/u-boot.scm index 60fd48f..d8b8291 100644 --- a/gnu/pa

[PATCH 2/6] gnu: %default-extra-linux-options: Remove redundant options.

2016-09-26 Thread David Craven
* gnu/packages/linux.scm (%default-extra-linux-options): Remove redundant options. --- gnu/packages/linux.scm | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index c8be533..d8d14d4 100644 --- a/gnu/packages/linux

[PATCH 1/6] gnu: Add picocom.

2016-09-26 Thread David Craven
* gnu/packages/terminals.scm (picocom): New variable. --- gnu/packages/terminals.scm | 35 +++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index d5c24d2..7ab4559 100644 --- a/gnu/packages/terminals.scm +++ b

Re: [PATCH 4/6] gnu: linux-libre-beagle-bone-black: Remove kernel variant.

2016-09-26 Thread David Craven
It's for the original beagle bone I think, not the beagle bone black, so it's named wrong at best. I'm using the generic kernel for my bbb. Unless someone has a bb board and wants to test this, it's just code no one is using.

Re: [PATCH 5/6] gnu: make-u-boot-package: Add files-to-install argument.

2016-09-26 Thread David Craven
> What do you think? I think there is a big difference here between supported boards and unsupported boards. It doesn't make sense to add shortcuts for all possible boards. Boards that are tested and supported should have shortcuts. I'd like cuirass to build native disk images for our supported b

Re: [PATCH 5/6] gnu: make-u-boot-package: Add files-to-install argument.

2016-09-26 Thread David Craven
FYI: I got guixsd to boot, need a tty that works over serial so that I can actually login...

Re: [PATCH 5/6] gnu: make-u-boot-package: Add files-to-install argument.

2016-09-26 Thread David Craven
> Or do you mean server software? > > mingetty mingetty doesn't support serial or does it? the man page doesn't document a baud rate flag, and setting the tty to ttyS1 causes a crash - not a tty. agetty or the getty from toybox have a flag to set the baud rate.

Re: [PATCH 08/12] build-system: Add cargo build system.

2016-09-26 Thread David Craven
>> +(define* (configure #:rest empty) >> + "Replace Cargo.toml [dependencies] section with guix inputs." >> + ;;TODO > > So what would this do? Do we end up using bundled dependencies if we > don’t do that? If we don't do that cargo tries to download them from crates.io, and since it's running

Re: [PATCH 4/6] gnu: linux-libre-beagle-bone-black: Remove kernel variant.

2016-09-26 Thread David Craven
> I don't object to a having a common style. I just wish that the information > that we put in our messages a) gave the rationale for the change; and b) > didn't > merely repeat information which git show could have told me. So is anyone against this change or just my commit message? Would some

Re: [PATCH 4/6] gnu: linux-libre-beagle-bone-black: Remove kernel variant.

2016-09-26 Thread David Craven
> Recently, on another project, I came across a line of code which I > was pretty sure was pointless. The guy who wrote that line should have included a comment in that case. The git history isn't a replacement for code commenting. Code needs to be readable without looking at it's history.

Re: [PATCH] gnu: Add sdcc.

2016-09-27 Thread David Craven
> This URL returns 404. thanks! missed that due to caching - again. is it ok in it's own file? or should that file be renamed to microcontroller.scm?

Re: Network with QEMU generated image (guix system vm)?

2016-09-28 Thread David Craven
> It should be enough to add “-net user” on the run-vm.sh command line > (info "(guix) Running GuixSD in a VM"), and then having a DHCP client > run inside the VM, such as ‘dhcp-client-service’. Ah, yes this probably needs some documentation. Also should include an explanation why the flag isn't a

Re: Network with QEMU generated image (guix system vm)?

2016-09-28 Thread David Craven
> I still can't ping You can't ping as I have already mentioned. You need to use TAP/TUN instead of -net user if you want to be able to ping. Setting up TAP/TUN for vms doesn't work out of the box yet. Does anyone read the references I post? =P

Re: Network with QEMU generated image (guix system vm)?

2016-09-28 Thread David Craven
All I'm saying is that you can't use ping. That's all...

Re: Network with QEMU generated image (guix system vm)?

2016-09-28 Thread David Craven
ng0: I'm having trouble following what you mean, I'm available on IRC if you want to talk about this further :)

[PATCH 1/7] build-system: Add cargo build system.

2016-09-28 Thread David Craven
+;;; Copyright © 2013 Nikita Karetnikov +;;; Copyright © 2016 David Craven +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either

[PATCH 2/7] import: Add importer for rust crates.

2016-09-28 Thread David Craven
f119 --- /dev/null +++ b/guix/import/crate.scm @@ -0,0 +1,93 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016 David Craven +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms

[PATCH 6/7] gnu: Add cargo-bootstrap.

2016-09-28 Thread David Craven
* gnu/packages/rust.scm (cargo-bootstrap): New variable. --- gnu/packages/rust.scm | 43 +++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 2726348..5b369fc 100644 --- a/gnu/packages/rust.scm +++ b/gnu/pack

[PATCH 4/7] upstream: Use a the first url from urls when find2 returns #f.

2016-09-28 Thread David Craven
* guix/upstream.scm (package-update): Use a url from the list when the find2 procedure doesn't find a url sig-url pair. --- guix/upstream.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/upstream.scm b/guix/upstream.scm index 1815737..ac3f72f 100644 --- a/guix/upstrea

Re: [PATCH 4/7] upstream: Use a the first url from urls when find2 returns #f.

2016-09-28 Thread David Craven
There is an example now. You can change the version of the rust-libc package and then run guix refresh -u rust-libc on it.

[PATCH 7/7] gnu: Add rust-libc.

2016-09-28 Thread David Craven
* gnu/packages/rust.scm (rust-libc): New variable. --- gnu/packages/rust.scm | 20 1 file changed, 20 insertions(+) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 5b369fc..0ac09b3 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -23,6 +23,7

Re: [PATCH 5/7] gnu: Add rustc-bootstrap.

2016-09-28 Thread David Craven
gcc-toolchain is a function. We could use gcc-toolchain-4.9 if you prefer?

[PATCH 3/7] import: crate: Add crate updater.

2016-09-28 Thread David Craven
* guix/import/crate.scm (crate-package?, latest-release, %crate-updater): New variables. * guix/scripts/refresh.scm (%updaters): Add %crate-updater to list of updaters. --- guix/import/crate.scm| 36 +++- guix/scripts/refresh.scm | 4 +++- 2 files changed,

[PATCH 5/7] gnu: Add rustc-bootstrap.

2016-09-28 Thread David Craven
/packages/rust.scm new file mode 100644 index 000..2726348 --- /dev/null +++ b/gnu/packages/rust.scm @@ -0,0 +1,99 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016 David Craven +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can

[PATCH] doc: Add information related to network connectivity with qemu.

2016-09-28 Thread David Craven
* doc/guix.text: Add it. --- doc/guix.texi | 39 +++ 1 file changed, 39 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 785d6fb..5173ca7 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -11030,6 +11030,45 @@ which may be insufficient for some op

<    1   2   3   4   5   6   7   8   9   10   >