Re: [PATCH] Add upower

2015-04-05 Thread David Thompson
n > + (service > + (documentation "Run the UPower power and battery monitor.") > + (provision '(upower-daemon)) > + (requirement '(dbus-system udev)) > + > + (start #~(make-forkexec-constructor > +(list (string-append #

[PATCHES] gnu: nginx: Clean up installation directories.

2015-04-05 Thread David Thompson
Two patches below. One to rewrite the phases using modify-phases syntax, and the other to clean up the mess that 'make install' creates. >From 81adae7d0de6e6d9213b81dc6a8747bfc6487420 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 5 Apr 2015 12:31:54 -0400 Subject: [P

Re: [PATCHES] gnu: Add livestreamer.

2015-04-05 Thread David Thompson
Mark H Weaver writes: [...] > Otherwise looks good to me! Fixed everything you mentioned and pushed. Thanks! -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate

Re: [PATCHES] gnu: nginx: Clean up installation directories.

2015-04-05 Thread David Thompson
While we're at it, how about we upgrade to the latest release? >From c25aa2aaf1ba54dfdc1cac1f05af3ea14c24d493 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 5 Apr 2015 12:58:46 -0400 Subject: [PATCH] gnu: nginx: Update to 1.7.11. --- gnu/packages/web.scm | 4 ++-- 1 file ch

Re: [PATCH] gnu: Add libepoxy.

2015-04-05 Thread David Thompson
t; + ("libtool" ,libtool) > + ("pkg-config" ,pkg-config) > + ("python" ,python))) > +(inputs > + `(("mesa" ,mesa))) > + > +(home-page "http://github.com/anholt/libepoxy/";) > +(synopsis "A library for handling OpenGL function pointer management") > +(description > + "A library for handling OpenGL function pointer management.") "libepoxy is a library for..." Expound just a bit if you can. > +(license l:x11))) > -- > 2.2.1 Looking good! -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate

Re: Update Python to 3.4.3?

2015-04-05 Thread David Thompson
Cyril Roelandt writes: > On 04/05/2015 03:40 PM, David Thompson wrote: >> Our Python package uses version 3.3.5, but 3.4.3 is the latest stable >> release. Shall we upgrade (in core-updates), or is this choice >> deliberate? >> > > Updating to 3.4.x should

Re: [PATCHES] gnu: nginx: Clean up installation directories.

2015-04-05 Thread David Thompson
Mark H Weaver writes: > David Thompson writes: > >> While we're at it, how about we upgrade to the latest release? > [...] >> -(version "1.6.2") >> +(version "1.7.11") > > 1.6 is a stable branch and 1.7 is a development bran

Re: [PATCHES] gnu: nginx: Clean up installation directories.

2015-04-05 Thread David Thompson
Mark H Weaver writes: > David Thompson writes: > >> + ;; No reason to use /sbin >> + (rename-file (string-append out "/sbin") >> +(string-append out "/bin" > > I would prefer to

Re: Guix and Gnome

2015-04-06 Thread David Thompson
On April 6, 2015 8:49:06 AM EDT, Daniel Pimentel wrote: >Hi Guix, somebody configured Gnome (gnome-desktop) in sysconfig.scm and > >start it with Slim? GuixSD does not yet support the GNOME desktop. - Dave

Re: Manage ssh public keys?

2015-04-10 Thread David Thompson
inks. Agreed, but how do we do the diff such that we know to remove them? -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate

Re: Manage ssh public keys?

2015-04-09 Thread David Thompson
Joe Hillenbrand writes: > Is there a way to manage users' ssh public keys via the operating-system > configuration? Our type in gnu/system/shadow.scm doesn't provide such a thing. Perhaps we could provide some generic facility for specifying per-user files. Thoughts? -- Da

[PATCH] gnu: Add gitolite.

2015-04-16 Thread David Thompson
egexp substitution to do a good job. Fixing this requires working with the upstream maintainers, I think. >From 12a8ab427800a004059c847742fa40bf35de1bb2 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Thu, 16 Apr 2015 03:23:52 -0400 Subject: [PATCH] gnu: Add gitolite. * gnu/packages

Re: [PATCH 3/3] gnu: Add MariaDB.

2015-04-17 Thread David Thompson
宋文武 writes: > * gnu/packages/database.scm (mariadb): New variable. MariaDB is a replacement for MySQL. Last I read you can just replace MySQL with MariaDB and everything just works. So, should we keep our mysql package? -- David Thompson Web Developer - Free Software Foundation - h

Re: [PATCH] gnu: Add gitolite.

2015-04-20 Thread David Thompson
David Thompson writes: > Gitolite is a lightweight tool for managing access control to Git > repositories. We use it at the FSF and it works pretty well. > > AFAICT, I've managed to avoid propogating Perl, but I have to propagate > OpenSSH and Git for now. They are re

[PATCH] gnu: nginx: Update to 1.8.0.

2015-04-24 Thread David Thompson
>From f93b916c3d20ab1b3439f67dde137f36918619f3 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 24 Apr 2015 08:08:02 -0400 Subject: [PATCH] gnu: nginx: Update to 1.8.0. * gnu/packages/web.scm (nginx): Update to 1.8.0. --- gnu/packages/web.scm | 4 ++-- 1 file changed, 2 insertions(+)

Re: [PATCH] gnu: nginx: Update to 1.8.0.

2015-04-24 Thread David Thompson
nAndreas Enge writes: > if it builds, I would say that there is no reason not to push it. It builds. Pushed! Thanks! -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate

Re: [PATCH] gnu: Add gitolite.

2015-04-24 Thread David Thompson
Ricardo Wurmus writes: > David Thompson writes: > >> David Thompson writes: >> >>> Gitolite is a lightweight tool for managing access control to Git >>> repositories. We use it at the FSF and it works pretty well. >>> >>> AFAICT, I've

[PATCH] gnu: Add sfml.

2015-04-26 Thread David Thompson
>From abc1bd07d05a834a3077b7e9526bd24806a80385 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 26 Apr 2015 16:38:43 -0400 Subject: [PATCH] gnu: Add sfml. * gnu/packages/game-development.scm (sfml): New variable. --- gnu/packages/game-development.scm |

[PATCH] gnu: Add soil.

2015-04-26 Thread David Thompson
>From c218a8f88eb623da01baa7b1693805f4ec1c67de Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 26 Apr 2015 16:41:25 -0400 Subject: [PATCH] gnu: Add soil. * gnu/packages/gl.scm (soil): New variable. --- gnu/packages/gl.scm | 45 - 1 f

[PATCH] gnu: Add xxhash.

2015-04-26 Thread David Thompson
>From 43b55a20d7d4c01b200768ccea733d261c12e699 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 26 Apr 2015 16:42:05 -0400 Subject: [PATCH] gnu: Add xxhash. * gnu/packages/xxhash.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. --- gnu-system.am | 1 +

[PATCH 1/2] gnu: Add libical.

2015-04-26 Thread David Thompson
>From a186fd49a55796917431088c0a04dee1b7da30c6 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 26 Apr 2015 17:46:57 -0400 Subject: [PATCH 1/2] gnu: Add libical. * gnu/packages/libical.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. --- gnu-system.am| 1 +

[PATCH 2/2] gnu: Add bluez.

2015-04-26 Thread David Thompson
>From 8c370d8b1f6af1f0ac36b79cd0f79fa0701c3323 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 26 Apr 2015 17:49:53 -0400 Subject: [PATCH 2/2] gnu: Add bluez. * gnu/packages/linux.scm (bluez): New variable. --- gnu/packages/linux.scm | 38 ++ 1 f

[PATCH] gnu: mpd: Add additional optional inputs.

2015-04-26 Thread David Thompson
>From 177a758f24d3f19a763e69d42d0ada4db8079090 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 26 Apr 2015 20:37:35 -0400 Subject: [PATCH] gnu: mpd: Add additional optional inputs. * gnu/packages/mpd.scm (mpd): Add mpg123, libshout, fluidsynth, openal, libmpcdec, wavpack, libc

Re: Add guile-minikanren

2015-04-26 Thread David Thompson
this as commit 6bc2406. Congrats on your first upstream package! Thanks! :) -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate

Re: [PATCH] gnu: flexbar: Enable tests.

2015-04-27 Thread David Thompson
(zero? (system* "bash" "flexbar_validate.sh"))) > +(alist-delete 'install %standard-phases Consider rewriting using 'modify-phases' syntax. > (inputs > `(("tbb" ,tbb) > ("zlib" ,zlib))) > -- > 2.1.0 > -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate

Re: Replacing Bower with "guix environment"

2015-04-27 Thread David Thompson
lem, Bower is still deeply embedded into so many projects. I wonder if we can be compatible with it in any way. > I don't know what this environment variable would be called. > WEB_ASSETS_PATH? The other tricky thing is, it's easy to say "put CSS > files and jquery in that t

Re: [PATCH] gnu: Add sfml.

2015-04-27 Thread David Thompson
Ricardo Wurmus writes: > Looks good to me. Thanks for packaging it (it's been on my list for a > while now)! Pushed! :) -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate

Re: Replacing Bower with "guix environment"

2015-04-27 Thread David Thompson
Christopher Allan Webber writes: > David Thompson writes: > >> Christopher Allan Webber writes: >> [SNIP] >>> Dave Thompson has made what I think is probably a good suggestion: there >>> should be some sort of environment variable set with something &

Re: GuixSD in a kvm

2015-04-27 Thread David Thompson
or, thus you get a kernel panic. The errors in that screenshot show that the initrd couldn't write to /etc/group when creating your user account, which caused a later call to 'getpw' to fail. I'm afraid I don't have any ideas of what to try next. Anyone else? -- David Thomps

Re: [PATCH] Add extremetuxracer (Note: needs help!)

2015-04-27 Thread David Thompson
L.h" should be "SDL/SDL.h". To fix this, you could add a phase to patch the source appropriately, or add a make flag (#:make-flags in the 'arguments' package field) that adds '(string-append (assoc-ref %build-inputs "sdl") "/include/SDL")' to

Re: [PATCH] Add extremetuxracer (Note: needs help!)

2015-04-27 Thread David Thompson
t; I think we can patch the Makefile after 'configure' phase, by: >>> >>> (substitute* "Makefile" >>> (("CXXFLAGS =") "CXXFLAGS = ${CFLAGS)")) >>> >>> And better, ask upstream for a real fix :-) >> >

Guix "ops"

2015-04-27 Thread David Thompson
em works. Anyone want to join in on this brainstorming party? Your thoughts are appreciated! [0] http://nixos.org/nixops/ [1] https://github.com/NixOS/nixops -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate

Re: [PATCH] gnu: Add python-tornado.

2015-04-28 Thread David Thompson
Looks good to me! -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate

Re: [PATCH] gnu: mesa: Update to 10.5.4.

2015-04-28 Thread David Thompson
which we don't have > enabled.) > > Input from any mesa experts or those who touched this package before is > welcome. > This is totally unrelated to your concerns, but since we're on the topic of making changes to the Mesa recipe: has anyone successfully used Mesa with a nouve

Re: [PATCH] gnu: Add soil.

2015-04-28 Thread David Thompson
Andreas Enge writes: > On Sun, Apr 26, 2015 at 05:52:44PM -0400, David Thompson wrote: >> +(define-public soil > > First a provocative question: The project has been created in 2007 and > apparently abandoned in 2008. Is it still worth packaging, or would it > not be pre

Re: [PATCH] gnu: Add xxhash.

2015-04-28 Thread David Thompson
Andreas Enge writes: > On Sun, Apr 26, 2015 at 05:53:32PM -0400, David Thompson wrote: >> * gnu/packages/xxhash.scm: New file. > > I am usually not in favour of adding new files for small utilities. Could it > go somewhere else? I don't like it either, but there's n

Re: GSoC: Manolis to work on Guix port to GNU/Hurd

2015-04-29 Thread David Thompson
eally-serve.html I don't see any issue with a personal fork hosted on GitHub. -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate

Re: Guix "ops"

2015-04-30 Thread David Thompson
Ludovic Courtès writes: > David Thompson skribis: > >> * The 'nixops' command is stateful. It stores necessary state about >> deployed systems in a special directory ($HOME/.nixops by default), >> such as the IP addresses of the deployed systems. Bec

Re: Replacing Bower with "guix environment"

2015-04-30 Thread David Thompson
(inputs `(("python" ,python) ("assets" ,(web-assets jquery videojs bootstrap ...) > Alternately one could generate a script that directly runs some http > server with the right parameters so that it

Re: Let's Package jQuery: A Javascript Packaging Dystopian Novella

2015-05-02 Thread David Thompson
s, but web development is the industry I've been in for my entire professional career (and it doesn't look like that will change anytime soon) and I really want things to get better, so I will continue to paddle against the current. -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate

[DMD] [PATCH] doc: Fix location of default user dmd configuration file.

2015-05-02 Thread David Thompson
While setting up dmd as a user service manager, the docs let me astray and I put my config in the wrong place. >From 5604ea6b3760b3289dd7617c57910669f5b3922e Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 2 May 2015 18:58:44 -0400 Subject: [PATCH] doc: Fix location of default user

[PATCH] gnu: Add postgresql-service.

2015-05-03 Thread David Thompson
Hello everyone, Below is a patch for my very first service: postgresql-service. What do you think? Thanks in advance for the code review! >From 888bb58253ab708f38609aa839e77a46a96bd0df Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 3 May 2015 17:02:59 -0400 Subject: [PATCH] gnu:

Re: Guix "ops"

2015-05-04 Thread David Thompson
an example of a 'guix deploy' config that actually works right now: http://paste.lisp.org/display/147741 I'm happy to discuss this more and figure out how to get you involved! Thanks for expressing your interest. -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate

Re: [PATCH] gnu: Add soil.

2015-05-04 Thread David Thompson
Ludovic Courtès writes: > David Thompson skribis: > >> Andreas Enge writes: > > [...] > >>>> + ;; No versioned archive available. >>>> + (uri "http://www.lonesock.net/files/soil.zip";) >>> >>> No

Re: [PATCH 2/2] gnu: Add bluez.

2015-05-04 Thread David Thompson
Andreas Enge writes: > On Sun, Apr 26, 2015 at 05:57:42PM -0400, David Thompson wrote: >> + "BlueZ provides support for the core Bluetooth layers and protocols. It >> +is flexible, efficient and uses a modular implementation.") > > Double space after peri

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

2015-05-04 Thread David Thompson
Andreas Enge writes: > On Sun, Apr 26, 2015 at 05:54:44PM -0400, David Thompson wrote: >> create mode 100644 gnu/packages/libical.scm > > Maybe calendar.scm? (I am not sure if we will have other calendar related > packages, but who knows.) Yeah, that's a good name. Done

Re: [PATCH] website: Convert implementation to SXML.

2015-05-06 Thread David Thompson
wing the site on gnu.org, but how do we develop the site on our own computers? Ideally, I'd like to be able to generate the site and serve it with Guile's HTTP server to see what the result looks like before committing patches. -- David Thompson Web Developer - Free Software Foundatio

Re: [PATCH] website: Convert implementation to SXML.

2015-05-06 Thread David Thompson
Mathieu Lirzin writes: > This patch is a draft for the html->sxml website conversion. Thought of another comment: Please wrap lines to be less than 80 characters whenever possible. There are a lot of long string literals that could be wrapped. -- David Thompson Web Developer - Free So

Re: %desktop-services

2015-05-06 Thread David Thompson
eed to add, say, Xfce to the > declaration’s ‘packages’ field, but that’s already an improvement. We > could have ‘%desktop-packages’, but I’d rather not choose a specific DE > or WM to put in there. > > Thoughts? Looks great! Less work for the user. -- David Thompson Web Develo

[PATCH] gnu: Add openvpn.

2015-05-07 Thread David Thompson
>From acf049424f1c9bf9484bc473c85f9b3efb925dc8 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 6 May 2015 15:08:47 -0400 Subject: [PATCH] gnu: Add openvpn. * gnu/packages/networking (openvpn): New variable. --- gnu/packages/networking.scm | 34 +- 1 f

[PATCH] gnu: bridge-utils: Fix build system.

2015-05-07 Thread David Thompson
Our bridge-utils build is totally broken, but was failing silently due to issues with the Makefile. Now it actually builds 'brctl'. :) >From 7a7a10874ae8ffb34c9edcb021b579d6bf0a287c Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 6 May 2015 17:00:07 -0400 Subject: [PATCH

Re: [PATCH] gnu: Add postgresql-service.

2015-05-07 Thread David Thompson
Ludovic Courtès writes: > OK to push with these changes! Done and pushed. Thanks! -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate

Re: [PATCH] gnu: Add openvpn.

2015-05-07 Thread David Thompson
Ludovic Courtès writes: > David Thompson skribis: > >> From acf049424f1c9bf9484bc473c85f9b3efb925dc8 Mon Sep 17 00:00:00 2001 >> From: David Thompson >> Date: Wed, 6 May 2015 15:08:47 -0400 >> Subject: [PATCH] gnu: Add openvpn. >> >> * gnu/packages/ne

Re: Bumping the Guile version requirement

2015-05-07 Thread David Thompson
o Guile 2.0.7 or > 2.0.9 (the latter is what Debian 8 has.) People on older systems will > still be able to install Guix using the binary tarball. > > What do people think? I think it's a great idea. Less monkey patches for us. -- David Thompson Web Developer - Free Sof

Reproducible profiles

2015-05-14 Thread David Thompson
to make this option mesh better with the rest of the 'guix package' utility. Any help is appreciated. >From b5348fb46fc5b6167099ed817aad8587bfbad20a Mon Sep 17 00:00:00 2001 From: David Thompson Date: Thu, 14 May 2015 21:11:57 -0400 Subject: [PATCH] package: Add

Re: Reproducible profiles

2015-05-17 Thread David Thompson
Ludovic Courtès writes: > David Thompson skribis: > >> Lately I've been wanting to version control the list of packages that I >> install in my user profile so that I can sync it amongst many machines. >> So, I took a stab at adding a new '--apply' opti

Re: Reproducible profiles

2015-05-17 Thread David Thompson
"font-adobe-source-han-sans:cn"))) I don't like that idea because the text specification is just a syntax for shell users. In Scheme, we can use the package objects directly rather than encode them as strings. -- David Thompson GPG Key: 0FF1D807

Re: Reproducible profiles

2015-05-17 Thread David Thompson
Ludovic Courtès writes: > (FWIW I’m not fond of the `(,gcc-toolchain "debug") notation that we > also use in packages, but it has the advantage of being concise.) Do you have plans to introduce a better notation? G-exps? -- David Thompson GPG Key: 0FF1D807

Re: Guix Oficial Website

2015-05-18 Thread David Thompson
John Darrington writes: > It would be better if black text on a very dark grey background was > avoided. Where? We use white text on every dark background I can see. -- David Thompson GPG Key: 0FF1D807

Re: Reproducible profiles

2015-05-18 Thread David Thompson
ng a 0 exit value would suffice as a basic integration test, I think. Anything else that you would recommend? -- David Thompson GPG Key: 0FF1D807

Re: Guix Oficial Website

2015-05-18 Thread David Thompson
John Darrington writes: > On Mon, May 18, 2015 at 09:30:42AM -0400, David Thompson wrote: > John Darrington writes: > > > It would be better if black text on a very dark grey background was > > avoided. > > Where? We use white text on

Re: Guix Oficial Website

2015-05-18 Thread David Thompson
John Darrington writes: > On Mon, May 18, 2015 at 09:43:45AM -0400, David Thompson wrote: > John Darrington writes: > > > On Mon, May 18, 2015 at 09:30:42AM -0400, David Thompson wrote: > > John Darrington writes: > > >

Re: Reproducible profiles

2015-05-18 Thread David Thompson
>From d506ad1d8824cc694364be502acddb25b76d0020 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 18 May 2015 07:49:44 -0400 Subject: [PATCH 1/3] ui: Factorize user-provided Scheme file loading. * guix/ui.scm (make-user-module, read-scheme-file): New procedures. * guix/scripts/system.scm (%user-module): D

[PATCH] gnu: Add sfxr.

2015-05-18 Thread David Thompson
>From af67dcbcee6dfe218e8f3080551a213b5cc8eebd Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 18 May 2015 19:14:01 -0400 Subject: [PATCH] gnu: Add sfxr. * gnu/packages/game-development.scm (sfxr): New variable. --- gnu/packages/game-development.scm |

Re: Reproducible profiles

2015-05-20 Thread David Thompson
Ludovic Courtès writes: > David Thompson skribis: > >> Below is a new patch set taking into account the feedback received thus >> far. The (guix profiles) module still needs to be documented in the >> manual, but there's quite a lot of procedures and variables to

Re: [PATCH] gnu: Add sfxr.

2015-05-20 Thread David Thompson
Mark H Weaver writes: > Please add #t to the end of this phase procedure, since the return value > of 'substitute*' is not specified, and phase procedures are supposed to > return a boolean indicating success or failure. Good catch. Fixed and pushed! -- David Thompson GPG Key: 0FF1D807

[PATCH] ui: Deduplicate 'show-what-to-build*'.

2015-05-20 Thread David Thompson
Just tidying up a bit. :) >From aab1d1d3ebc76a9ac9c82d3690d76cdad1128a6f Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 20 May 2015 18:42:35 -0400 Subject: [PATCH] ui: Deduplicate 'show-what-to-build*'. * guix/ui.scm (show-what-to-build*): New procedure. * guix/scripts/en

[PATCH] scripts: Move 'set-build-options-from-command-line*' to (guix scripts build) module.

2015-05-20 Thread David Thompson
More tidying. Moving this monadic procedure to the more sensible place will allow reuse in other scripts. 'guix deploy' will use it. >From 8bb17b4ce15e6db8c9a6aea3cd83208dd76f8e8c Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 20 May 2015 18:48:10 -0400 Subject: [PATCH]

Re: About "collision encountered"

2015-05-22 Thread David Thompson
macs > > I suggest add a feature, which can detect the underline conflicts. when > conflicts found, ask user type "yes" or "no". We can't do that, as it would be non-deterministic. If you want to use 2 versions of the same package, an additional profile is the right way to go. This is why we have profiles in the first place. :) -- David Thompson GPG Key: 0FF1D807

Re: Guix "ops"

2015-05-22 Thread David Thompson
d questions like: How should we keep track of state? How do we reconfigure already deployed machines? How do we shut down a deployment and unprovision the resources it used? Basically, how many hooks does the record type need to cover everything? Thoughts and help very much wanted! -- David Thompson GPG Key: 0FF1D807

Re: Guix "ops"

2015-05-22 Thread David Thompson
open to any other platforms that will exercise the full range of capabilities that 'guix deploy' needs to be useful. -- David Thompson GPG Key: 0FF1D807

Re: About webkitgtk head file path.

2015-05-22 Thread David Thompson
ld be configured such that 'gcc' is run with a flag like: -I /gnu/store/dl8z49pzl3l7wbh2q0hp7dxdxm40vjjj-webkitgtk-2.4.8/include/webkitgtk-1.0 I'm surprised this isn't the case by default. Perhaps there's a configure flag needed to point the build system towards the right prefix for webkitgtk? -- David Thompson GPG Key: 0FF1D807

[PATCHES] Add ruby-rspec, bundler, and ruby-useragent

2015-05-27 Thread David Thompson
'git send-email' isn't working for me on GuixSD, so below are 6 patches for adding some new Ruby packages. Sorry for the unideal email workflow. >From c077e0fa5d4a42748ad4e282c413e24ced124dcc Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 27 May 2015 21:33:17 -0400 S

[PATCH] guix environment: Add --ad-hoc option.

2015-05-28 Thread David Thompson
001 From: David Thompson Date: Thu, 28 May 2015 08:41:04 -0400 Subject: [PATCH] guix environment: Add --ad-hoc option. * guix/scripts/environment.scm (%options): Add "ad-hoc" option. (show-help): Display help for "--ad-hoc". (packages+propagated-inputs): New procedure. (gu

[PATCH 2/8] gnu: Add ruby-arel.

2015-06-12 Thread David Thompson
>From 6913dfd901cfa337ec5942e1b7ac09f142b25b7a Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Jun 2015 12:06:58 -0400 Subject: [PATCH 2/8] gnu: Add ruby-arel. * gnu/packages/ruby.scm (ruby-arel): New variable. --- gnu/packages/ruby.scm | 23 +++ 1 file chan

[PATCH 1/8] gnu: Add ruby-bacon.

2015-06-12 Thread David Thompson
>From 12d6b1499c7a47cf98f5298193e20bfa3bf8429b Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Jun 2015 08:48:02 -0400 Subject: [PATCH 1/8] gnu: Add ruby-bacon. * gnu/packages/ruby.scm (ruby-bacon): New variable. --- gnu/packages/ruby.scm | 29 + 1 f

[PATCH 3/8] gnu: Add ruby-connection-pool.

2015-06-12 Thread David Thompson
>From a0a3bf8748026bdc611bae2baba399fb12c1c387 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Jun 2015 16:35:21 -0400 Subject: [PATCH 3/8] gnu: Add ruby-connection-pool. * gnu/packages/ruby.scm (ruby-connection-pool): New variable. --- gnu/packages/ruby.scm |

[PATCH 4/8] gnu: Add ruby-net-http-persistent.

2015-06-12 Thread David Thompson
>From 379d7248d3c7616dcc37a39f9a1a33d9e5aa11e5 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Jun 2015 16:50:24 -0400 Subject: [PATCH 4/8] gnu: Add ruby-net-http-persistent. * gnu/packages/ruby.scm (ruby-net-http-persistent): New variable. --- gnu/packages/ruby.scm |

[PATCH 5/8] gnu: Add ruby-daemons.

2015-06-12 Thread David Thompson
>From 309ee62ee91493558298ef04840348c3d67a2dd9 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Jun 2015 19:29:26 -0400 Subject: [PATCH 5/8] gnu: Add ruby-daemons. * gnu/packages/ruby.scm (ruby-daemons): New variable. --- gnu/packages/ruby.scm | 22 ++ 1 f

[PATCH 6/8] gnu: Add ruby-minitest.

2015-06-12 Thread David Thompson
>From 5b1cd12ba47660b60b9ea48b7071081f27b45cb9 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 12 Jun 2015 21:06:50 -0400 Subject: [PATCH 6/8] gnu: Add ruby-minitest. * gnu/packages/ruby.scm (ruby-minitest): New variable. --- gnu/packages/ruby.scm | 28

[PATCH 8/8] gnu: Add ruby-minitest-bacon.

2015-06-12 Thread David Thompson
>From c93008fafb34748ace55a6ee09b81ff71aba3e16 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 12 Jun 2015 21:07:36 -0400 Subject: [PATCH 8/8] gnu: Add ruby-minitest-bacon. * gnu/packages/ruby.scm (ruby-minitest-bacon): New variable. --- gnu/packages/ruby.scm |

[PATCH 7/8] gnu: Add ruby-minitest-sprint.

2015-06-12 Thread David Thompson
>From 7aedb563fbc9a746645afa781ecf39f086aa1995 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 12 Jun 2015 21:07:13 -0400 Subject: [PATCH 7/8] gnu: Add ruby-minitest-sprint. * gnu/packages/ruby.scm (ruby-minitest-sprint): New variable. --- gnu/packages/ruby.scm |

[PATCH 1/3] gnu: Add ruby-git.

2015-06-13 Thread David Thompson
>From d5062fe608d840aca5034c9374dc0a99c926554b Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 13 Jun 2015 07:46:02 -0400 Subject: [PATCH 1/3] gnu: Add ruby-git. * gnu/packages/ruby.scm (ruby-git): New variable. --- gnu/packages/ruby.scm | 33 + 1 f

[PATCH 3/3] gnu: Add ruby-multipart-post.

2015-06-13 Thread David Thompson
>From 9f7faeee96919ce78991e2c8321a329eab5bda75 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 13 Jun 2015 08:06:12 -0400 Subject: [PATCH 3/3] gnu: Add ruby-multipart-post. * gnu/packages/ruby.scm (ruby-multipart-post): New variable. --- gnu/packages/ruby.scm |

[PATCH 2/3] gnu: Add ruby-slop.

2015-06-13 Thread David Thompson
>From b92e076fbd1fdeb396044bf66df20e471710f39a Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 13 Jun 2015 07:53:23 -0400 Subject: [PATCH 2/3] gnu: Add ruby-slop. * gnu/packages/ruby.scm (ruby-slop): New variable. --- gnu/packages/ruby.scm | 22 ++ 1 file chan

[PATCH 1/2] gnu: Make 'mount' interface in static Guile consistent with Guix API.

2015-06-18 Thread David Thompson
>From 6efe8e786674d40e01df48c7df9a952107831ad9 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Thu, 18 Jun 2015 20:21:41 -0400 Subject: [PATCH 1/2] gnu: Make 'mount' interface in static Guile consistent with Guix API. Rather than expecting a pointer, the version of 'moun

[PATCH 2/2] gnu: Add control group file systems.

2015-06-18 Thread David Thompson
>From 339bc3a744ad07f8513fbbf4b1cfd7955fdf7f1d Mon Sep 17 00:00:00 2001 From: David Thompson Date: Thu, 18 Jun 2015 20:40:57 -0400 Subject: [PATCH 2/2] gnu: Add control group file systems. * gnu/system/file-systems.scm (%control-groups): New variable. (%base-file-system): Include control gr

[PATCH 0/15] Add preliminary support for Linux containers

2015-07-06 Thread David Thompson
oc/12403/ns/mnt", "mnt:[4026532288]", 4095) = 16 [pid 12404] setns(21, 0)= 0 [pid 12403] chdir("/") = 0 [pid 12404] chdir("/") = 0 [pid 12404] clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f4d67124a10) = 12406 [pid 12406] readlink("/proc/2/ns/user", "user:[4026532287]", 100) = 17 [pid 12406] readlink("/proc/2/ns/ipc", "ipc:[4026532290]", 100) = 16 [pid 12406] readlink("/proc/2/ns/uts", "uts:[4026532289]", 100) = 16 [pid 12406] readlink("/proc/2/ns/net", "net:[4026532292]", 100) = 16 [pid 12406] readlink("/proc/2/ns/pid", "pid:[4026532344]", 100) = 16 [pid 12406] readlink("/proc/2/ns/mnt", "mnt:[4026532288]", 100) = 16 In both cases, all of the 'setns' system calls succeed, but the EACCES error leads me to believe that the excursion process is somehow *not* a member of the necessary mount namespace. I haven't seen this failure when running the 'guix container exec' command which uses 'container-excursion', so I'm suspecting that there may be a race condition to address. tl;dr: Containers! There's a bug in a test! Help! Happy hacking, -- David Thompson GPG Key: 0FF1D807

[PATCH 01/15] build: syscalls: Add additional mount flags.

2015-07-06 Thread David Thompson
From: David Thompson * guix/build/syscalls.scm (MS_NOSUID, MS_NODEV, MS_NOEXEC, MS_STRICTATIME): New variables. --- guix/build/syscalls.scm | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/guix/build/syscalls.scm b/guix/build/syscalls.scm index 3585bf2

[PATCH 07/15] build: syscalls: Add pivot-root.

2015-07-06 Thread David Thompson
From: David Thompson * guix/build/syscalls.scm (pivot-root): New procedure. * tests/syscalls.scm: Test it. --- guix/build/syscalls.scm | 15 +++ tests/syscalls.scm | 24 2 files changed, 39 insertions(+) diff --git a/guix/build/syscalls.scm b/guix

[PATCH 04/15] utils: Add call-with-temporary-directory.

2015-07-06 Thread David Thompson
From: David Thompson * guix/utils.scm (call-with-temporary-directory): New procedure. --- guix/utils.scm | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/guix/utils.scm b/guix/utils.scm index a2ade2b..44913c6 100644 --- a/guix/utils.scm +++ b/guix/utils.scm

[PATCH 03/15] build: syscalls: Add mkdtemp!

2015-07-06 Thread David Thompson
From: David Thompson * guix/build/syscalls.scm (mkdtemp!): New procedure. * tests/syscalls.scm: Test it. --- guix/build/syscalls.scm | 15 +++ tests/syscalls.scm | 9 + 2 files changed, 24 insertions(+) diff --git a/guix/build/syscalls.scm b/guix/build/syscalls.scm

[PATCH 05/15] build: syscalls: Add clone syscall wrapper.

2015-07-06 Thread David Thompson
From: David Thompson * guix/build/syscalls.scm (clone): New procedure. (CLONE_NEWNS, CLONE_NEWUTS, CLONE_NEWIPC, CLONE_NEWUSER, CLONE_NEWPID, CLONE_NEWNET): New variables. * tests/syscalls.scm: Test it. --- guix/build/syscalls.scm | 31 +++ tests/syscalls.scm

[PATCH 10/15] gnu: system: Move file-system->spec to (gnu system file-systems).

2015-07-06 Thread David Thompson
From: David Thompson * gnu/system/linux-initrd.scm (file-system->spec): Move this... * gnu/system/file-systems.scm: ... to here. --- gnu/system/file-systems.scm | 10 ++ gnu/system/linux-initrd.scm | 7 --- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/gnu/sys

[PATCH 09/15] gnu: system: Move into (gnu system file-systems).

2015-07-06 Thread David Thompson
From: David Thompson * gnu/system/vm.scm (, %store-mapping): Move from here... * gnu/system/file-systems.scm: ...to here. * guix/scripts/system.scm: Import (gnu system file-systems). --- gnu/system/file-systems.scm | 32 +++- gnu/system/vm.scm | 22

[PATCH 15/15] scripts: Add 'container' subcommand.

2015-07-06 Thread David Thompson
From: David Thompson * guix/scripts/container.scm: New file. * guix/scripts/container/exec.scm: New file. * doc/guix.texi (Invoking guix container): New section. * Makefile.am (MODULES): Add them. --- Makefile.am | 2 ++ doc/guix.texi | 46

[PATCH 13/15] scripts: system: Add 'container' action.

2015-07-06 Thread David Thompson
From: David Thompson * guix/scripts/system.scm (show-help): Display 'container' action. (system-derivation-for-action, guix-system): Add 'container' case. (perform-action): Skip GRUB config generation when building a container. * doc/guix.texi (Invoking guix system): D

[PATCH 12/15] gnu: system: Add Linux container file systems.

2015-07-06 Thread David Thompson
From: David Thompson * gnu/system/file-systems.scm (%container-file-systems): New variable. --- gnu/system/file-systems.scm | 30 ++ 1 file changed, 30 insertions(+) diff --git a/gnu/system/file-systems.scm b/gnu/system/file-systems.scm index b33f826..23998dd 100644

[PATCH 06/15] build: syscalls: Add setns syscall wrapper.

2015-07-06 Thread David Thompson
From: David Thompson * guix/build/syscalls.scm (setns): New procedure. * tests/syscalls.scm: Test it. --- guix/build/syscalls.scm | 15 +++ tests/syscalls.scm | 21 + 2 files changed, 36 insertions(+) diff --git a/guix/build/syscalls.scm b/guix/build

[PATCH 08/15] gnu: build: Add Linux container module.

2015-07-06 Thread David Thompson
From: David Thompson * gnu/build/linux-container.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * .dir-locals.el: Add Scheme indent rules for 'call-with-clone', 'with-clone', 'call-with-container', and 'container-excursion'. * tests

<    1   2   3   4   5   6   >