[Nix-dev] GNU Guix & GuixSD 0.13.0 released

2017-05-22 Thread Ludovic Courtès
han R. Jones 6 Federico Beffa 8 Feng Shu 1 George Clemmer 1 Gábor Boskovits 22 Hartmut Goebel 4 Huang Ying 2 Jan Nieuwenhuizen 2 Jelle Licht 38 John Darrington 11 José Miguel Sánchez García 134 Julien Lepiller 59 Kei Kebreau 4 Kyl

Re: [Nix-dev] Typing nix − funding campaign

2017-03-30 Thread Ludovic Courtès
Hello, Théophane Hufschmitt skribis: > Wed 29 Mar 17 − 17:25, Mateusz Kowalczyk(fuuze...@fuuzetsu.co.uk) a écrit: >> I'm sure you've answered this ad nauseum before but I wonder how you're >> going to type sets? They are bread-and-butter in nixpkgs. Presumably >> they will

Re: [Nix-dev] Multiple outputs: is a first output necessary?

2016-12-08 Thread Ludovic Courtès
Hi! Freddy Rietdijk skribis: > I'm using Nix and now also multiple outputs for my data analysis and > simulations. Many scripts generate several files and instead of having them > together in the same store path I would prefer to put them in separate > store paths. > >

Re: [Nix-dev] [RFC] Reliable compiler specification setting (at least include/lib dirs) through the process environment

2016-10-18 Thread Ludovic Courtès
Hi! Shea Levy skribis: > Your patches look good! My biggest concern is how the ld wrapper behaves > in the presence of response files. Have you tested that? It surely doesn’t (yet?). However, GCC does not pass “@file” arguments when it invokes ‘ld’, and the bug report you

Re: [Nix-dev] [RFC] Reliable compiler specification setting (at least include/lib dirs) through the process environment

2016-10-18 Thread Ludovic Courtès
Hi Shea, Shea Levy skribis: > Unlike the traditional approach of installing system libraries into one > central location like /usr/{lib,include}, the nix package manager [1] > installs each package into it's own prefix > (e.g. /nix/store/mn9kqag3d24v6q41x747zd7n5qnalch7-zlib-1.2.8-dev).

[Nix-dev] GNU Guix & GuixSD 0.11.0 released

2016-08-03 Thread Ludovic Courtès
Edrosa 2 Federico Beffa 1 Francesco Frassinelli 1 George Clemmer 10 Hartmut Goebel 16 Jan Nieuwenhuizen 4 Jelle Licht 1 Jochem Raat 8 John Darrington 1 John J Foerch 2 John J. Foerch 1 Jookia 32 Kei Kebreau 157 Leo Famulari

[Nix-dev] GNU Guix & GuixSD 0.10.0 released

2016-03-29 Thread Ludovic Courtès
orian Paul Schmidt 1 George Clemmer 9 Jan Nieuwenhuizen 1 Jessica Tallon 3 Jochem Raat 1 John Darrington 1 Jookia 1 Justus Winter 2 Kyle Meyer 198 Leo Famulari 477 Ludovic Courtès 1 Lukas Gradl 2 Manolis Ragkousis 1 Mario Daniel

Re: [Nix-dev] [PATCH] daemon: Add 'buildMode' parameter to 'buildPaths' RPC.

2015-12-03 Thread Ludovic Courtès
Shea Levy skribis: > Can you resend with paths appropriate to the nix repo? There is no > nix/ directory there. Oops, my bad. I think Eelco solved that already. Sorry about that! Ludo’. ___ nix-dev mailing list

[Nix-dev] [PATCH] daemon: Add 'buildMode' parameter to 'buildPaths' RPC.

2015-12-02 Thread Ludovic Courtès
* nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump to 0x10f. * nix/libstore/remote-store.cc (RemoteStore::buildPaths): Send the BUILDMODE when the daemon supports it. Reject invalid values of BUILDMODE for old daemons. * nix/nix-daemon/nix-daemon.cc (performOp) : Read the build mode when

[Nix-dev] GNU Guix 0.9.0 released

2015-11-05 Thread Ludovic Courtès
28 Eric Bavier 19 Eric Dvorsak 15 Federico Beffa 4 Jeff Mickey 1 Julian Graham 8 Leo Famulari 343 Ludovic Courtès 9 Manolis Ragkousis 2 Marek Benc 123 Mark H Weaver 25 Mathieu Lirzin 170 Paul van der Walt 10 Pjotr Prins 156 Ricardo

[Nix-dev] GNU Guix 0.8.3 released

2015-07-22 Thread Ludovic Courtès
Ludovic Courtès 7 Manolis Ragkousis 175 Mark H Weaver 7 Mathieu Lirzin 15 Paul van der Walt 4 Pjotr Prins 91 Ricardo Wurmus 37 Sou Bunnbu (宋文武) 4 Taylan Ulrich Bayırlı/Kammer Ludovic, on behalf of the Guix team. signature.asc Description: PGP signature

[Nix-dev] [PATCH] Preserve supplementary groups of build users

2015-07-01 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: Currently, the build environment made by the daemon does not preserve supplementary groups of the build users. Thus, even though the standalone Guix system sets /dev/kvm 660, owned by root:kvm, and adds the build users to the kvm group, build users

[Nix-dev] [PATCH] Distinguish between “offloadability” and “substitutability”

2015-07-01 Thread Ludovic Courtès
Hi again, Nix commit 55586527 (June 2013) changed the semantics of ‘preferLocalBuild’ from “avoid offloading this derivation” to “avoid offloading *or substituting* this derivation” (see http://bugs.gnu.org/18747.) This patch introduces a new special key, ‘substitution’, to specify whether a

Re: [Nix-dev] [PATCH] Preserve supplementary groups of build users

2015-07-01 Thread Ludovic Courtès
Hi Eelco, Eelco Dolstra eelco.dols...@logicblox.com skribis: On 01/07/15 11:12, Ludovic Courtès wrote: Currently, the build environment made by the daemon does not preserve supplementary groups of the build users. Thus, even though the standalone Guix system sets /dev/kvm 660, owned

Re: [Nix-dev] [PATCH] Distinguish between “offloadability” and “substitutability”

2015-07-01 Thread Ludovic Courtès
Eelco Dolstra eelco.dols...@logicblox.com skribis: On 01/07/15 17:21, Ludovic Courtès wrote: Nix commit 55586527 (June 2013) changed the semantics of ‘preferLocalBuild’ from “avoid offloading this derivation” to “avoid offloading *or substituting* this derivation” (see http://bugs.gnu.org

Re: [Nix-dev] [PATCH] Add a ‘verifyStore’ RPC

2015-06-03 Thread Ludovic Courtès
Hello! Eelco Dolstra eelco.dols...@logicblox.com skribis: On 01/06/15 23:20, Ludovic Courtès wrote: The patch below adds a ‘verifyStore’ RPC with the same signature as the current LocalStore::verifyStore method. Thanks! I've applied this with the following change to disallow repairing

[Nix-dev] [PATCH] Add a ‘verifyStore’ RPC

2015-06-01 Thread Ludovic Courtès
Hello! The patch below adds a ‘verifyStore’ RPC with the same signature as the current LocalStore::verifyStore method. Thanks, Ludo’. From aef46c03ca77eb6344f4892672eb6d9d06432041 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= l...@gnu.org Date: Mon, 1 Jun 2015 23:17:10 +0200

[Nix-dev] GNU Guix 0.8.2 released

2015-05-14 Thread Ludovic Courtès
Andreas Enge 22 Andy Wingo 3 Christopher Allan Webber 3 Cyril Roelandt 5 David Hashe 41 David Thompson 365 Eric Bavier 37 Federico Beffa 12 Jason Self 460 Ludovic Courtès 3 Manolis Ragkousis 182 Mark H Weaver 2 Mathieu Lirzin 16 Paul

[Nix-dev] GNU Guix 0.8.1 released

2015-01-29 Thread Ludovic Courtès
31 Eric Bavier 47 Federico Beffa 8 Jason Self 10 John Darrington 1 Joshua S. Grant 5 Julien Lepiller 326 Ludovic Courtès 5 Manolis Ragkousis 1 Marek Benc 206 Mark H Weaver 19 Ricardo Wurmus 2 Taylan Ulrich B 2 Taylan Ulrich Bayırlı

[Nix-dev] Service composition

2014-12-29 Thread Ludovic Courtès
Ertugrul Söylemez ert...@gmx.de skribis: FWIW, Guix uses an approach along these lines: the ‘bitlbee-service’ function, for instance, returns a ‘service’ object as a monadic value (see http://www.gnu.org/software/guix/manual/guix.html#Defining-Services for details.) The way I understand

Re: [Nix-dev] How to get rid of systemd

2014-12-28 Thread Ludovic Courtès
Ertugrul Söylemez ert...@gmx.de skribis: I would prefer and do propose an algebraic solution (view services as a toolbox from which you can pick the services you want and compose them together). A services configuration then might look like this: services = bitlbee { port =

Re: [Nix-dev] Avoiding threads in the daemon

2014-12-26 Thread Ludovic Courtès
Eelco Dolstra eelco.dols...@logicblox.com skribis: On 19/12/14 19:20, Eelco Dolstra wrote: I see a few ways to get PID namespaces back: * Do a regular fork followed by clone(... | CLONE_NEWPID | CLONE_PARENT) (after which the intermediate process can exit). This has been implemented in

[Nix-dev] Avoiding threads in the daemon

2014-12-19 Thread Ludovic Courtès
Nix commit 524f89 changed libstore to use fork + unshare instead of clone(2). The problem is that, in doing so, it also removed use of CLONE_NEWPID and thus, (1) the build process no longer has PID 1, and (2) build processes end up in the global PID space. Adding CLONE_NEWPID to the unshare(2)

Re: [Nix-dev] Avoiding threads in the daemon

2014-12-19 Thread Ludovic Courtès
Hi, Eelco Dolstra eelco.dols...@logicblox.com skribis: On 18/12/14 17:32, Ludovic Courtès wrote: Thus, I think Nix commit 49fe95 (which introduces monitor-fd.hh, which uses std::thread just for convenience) should be reverted, along with the subsequent commits to that file; then commit

Re: [Nix-dev] [PATCH Nix] Flush substituter output upon ‘\r’

2014-12-10 Thread Ludovic Courtès
Hi Eelco, I think the patch below fell through the cracks. ;-) Is it OK on your side? Thanks, Ludo’. l...@gnu.org (Ludovic Courtès) skribis: Eelco Dolstra eelco.dols...@logicblox.com skribis: On 17/06/14 17:50, Ludovic Courtès wrote: The patch below changes the store so that it flushes

[Nix-dev] GNU Guix 0.8 released

2014-11-18 Thread Ludovic Courtès
Schenkel 49 David Thompson 41 Eric Bavier 9 Federico Beffa 1 Guy Grant 4 Ian Denhardt 20 Jason Self 17 John Darrington 1 Joshua Grant 3 Kevin Lemonnier 412 Ludovic Courtès 4 Manolis Ragkousis 10 Marek Benc 105 Mark H Weaver 1

Re: [Nix-dev] [PATCH] Add an 'optimiseStore' RPC

2014-09-01 Thread Ludovic Courtès
Eelco Dolstra eelco.dols...@logicblox.com skribis: Looks fine, but it doesn't apply. Can you rebase it on nix master? Oops, sure. Here it is. Thanks, Ludo’. From 88ebc46a1216165a015a744e53319f666eb1b1cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= l...@gnu.org Date: Mon,

[Nix-dev] [PATCH] Add an 'optimiseStore' RPC

2014-08-31 Thread Ludovic Courtès
Hi Eelco, The patch below adds an ‘optimiseStore’ RPC, and thus adds a mandatory ‘optimiseStore’ method in ‘StoreAPI’. OK to commit? Ludo’. diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh index 09639e7..4404ffc 100644 --- a/src/libstore/local-store.hh +++

[Nix-dev] GNU Guix 0.7 released

2014-07-25 Thread Ludovic Courtès
Cyrill Schenkel 14 David Thompson 58 Eric Bavier 12 Jason Self 29 John Darrington 474 Ludovic Courtès 2 Manolis Ragkousis 11 Mark H Weaver 1 Nikita Karetnikov 1 Taylan Ulrich Bayirli/Kammer Ludovic, on behalf of the Guix team. signature.asc

Re: [Nix-dev] rebuild impact factor

2014-06-24 Thread Ludovic Courtès
Florian Friesdorf f...@chaoflow.net skribis: it would be nice if github would show a rebuild impact factor? In the old days, Nicolas Pierron wrote a script that attempted to compute that factor, maintainers/scripts/rebuild-amount.sh. Ludo’. ___

Re: [Nix-dev] [PATCH Nix] Flush substituter output upon ‘\r’

2014-06-24 Thread Ludovic Courtès
Hi, Please use reply-to-all. Eelco Dolstra eelco.dols...@logicblox.com skribis: On 17/06/14 17:50, Ludovic Courtès wrote: The patch below changes the store so that it flushes what it reads from the substituter’s stderr when it encounters either a newline or a carriage return. The intent

[Nix-dev] [PATCH Nix] Flush substituter output upon ‘\r’

2014-06-17 Thread Ludovic Courtès
The patch below changes the store so that it flushes what it reads from the substituter’s stderr when it encounters either a newline or a carriage return. The intent is to allow substituters to provide some kind of progress report, where the status is updated by means of a ‘\r’. As a side

Re: [Nix-dev] Porting Nix to [Open]BSD

2014-05-10 Thread Ludovic Courtès
Manuel Pages amarr.industr...@gmail.com skribis: The problem I had with autotools is that autoconfigure of nix doesn't recognize bzip2 library on non-Linux platforms which is kinda sad because it's exactly what autoconfigure should do — configure the project to work across POSIX systems :)

Re: [Nix-dev] [PATCH] Allow roots to refer to arbitrary files in the store

2014-04-15 Thread Ludovic Courtès
Shea Levy s...@shealevy.com skribis: On Mon, Apr 14, 2014 at 04:59:15PM +0200, Ludovic Courtès wrote: l...@gnu.org (Ludovic Courtès) skribis: Shea Levy s...@shealevy.com skribis: On Mon, Apr 14, 2014 at 03:38:01PM +0200, Ludovic Courtès wrote: The patch below allows files such as /nix

Re: [Nix-dev] [PATCH] Allow roots to refer to arbitrary files in the store

2014-04-15 Thread Ludovic Courtès
Eelco Dolstra eelco.dols...@logicblox.com skribis: On 14/04/14 16:59, Ludovic Courtès wrote: The patch below allows files such as /nix/store/foo to be protected from GC if a root refers to them. This makes it easy for a build hook to use such files for its temporary working files. WDYT

Re: [Nix-dev] [PATCH] Allow roots to refer to arbitrary files in the store

2014-04-14 Thread Ludovic Courtès
(Oops, forgot the Subject line; sorry!) Shea Levy s...@shealevy.com skribis: On Mon, Apr 14, 2014 at 03:38:01PM +0200, Ludovic Courtès wrote: The patch below allows files such as /nix/store/foo to be protected from GC if a root refers to them. This makes it easy for a build hook to use

Re: [Nix-dev] [PATCH] Allow roots to refer to arbitrary files in the store

2014-04-14 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: Shea Levy s...@shealevy.com skribis: On Mon, Apr 14, 2014 at 03:38:01PM +0200, Ludovic Courtès wrote: The patch below allows files such as /nix/store/foo to be protected from GC if a root refers to them. This makes it easy for a build hook to use

Re: [Nix-dev] GNU Guix 0.6 released

2014-04-10 Thread Ludovic Courtès
(Stripping Cc.) Shea Levy s...@shealevy.com skribis: On Wed, Apr 09, 2014 at 08:29:25PM +0200, Ludovic Courtès wrote: [...] • About GNU Guix is the functional package manager for the GNU system distribution. In addition to standard package management features, Guix supports

Re: [Nix-dev] Unfree packages in Nixpkgs

2014-04-10 Thread Ludovic Courtès
While we’re at sharing links ;-), I would instead recommend Appelbaum’s LibrePlanet keynote on this topic: https://media.libreplanet.org/u/zakkai/m/free-software-for-freedom-surveillance-and-you/ Ludo’. ___ nix-dev mailing list

Re: [Nix-dev] [PATCH] Make sure /dev/pts/ptmx is world-writable

2014-04-03 Thread Ludovic Courtès
Hello! Lluís Batlle i Rossell vi...@viric.name skribis: On Wed, Apr 02, 2014 at 11:41:11PM +0200, Ludovic Courtès wrote: Hello, While running Python 3’s test suite, we noticed that on some systems /dev/pts/ptmx is created with permissions 0 (that’s the case with my Nixpkgs-originating

Re: [Nix-dev] [PATCH] Make sure /dev/pts/ptmx is world-writable

2014-04-03 Thread Ludovic Courtès
Lluís Batlle i Rossell vi...@viric.name skribis: Usually it's handled with the devpts special mountable device. The ptmxmode variable handles that. Don't you want to mount that in the chroot? Ah sorry, I see the ptmxmode mount option:

[Nix-dev] [PATCH] Make sure /dev/pts/ptmx is world-writable

2014-04-02 Thread Ludovic Courtès
Hello, While running Python 3’s test suite, we noticed that on some systems /dev/pts/ptmx is created with permissions 0 (that’s the case with my Nixpkgs-originating 3.0.43 kernel, but someone with a Debian-originating 3.10-3 reported not having this problem.) There’s still the problem that

Re: [Nix-dev] NiJS package manager

2014-04-01 Thread Ludovic Courtès
Hi Sander! Sander van der Burg - EWI s.vanderb...@tudelft.nl skribis: After a year of hard work, I proudly want to present you NiJS: the asynchronous package manager. In NiJS, you can use the more popular, innovating and future proof JavaScript language to specify package build

[Nix-dev] ‘boost::too_few_args’ in ‘getLineFromSubstituter’

2014-03-28 Thread Ludovic Courtès
Hi, In some cases (substituter error), I’m getting this: unexpected Nix daemon error: boost::too_few_args: format-string refered to more arguments than were passed After replacing the ‘throw’ with ‘abort’ in format_implementation.cc, I was able to get a backtrace: --8---cut

Re: [Nix-dev] [PATCH] Making /dev/kvm optional

2014-03-22 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: The daemon now creates /dev deterministically (thanks!). However, it expects /dev/kvm to be present. The patch below restricts that requirement (1) to Linux-based systems, and (2) to systems where /dev/kvm already exists. The patch is in: https

[Nix-dev] [PATCH] Making /dev/kvm optional

2014-03-21 Thread Ludovic Courtès
Hello, The daemon now creates /dev deterministically (thanks!). However, it expects /dev/kvm to be present. The patch below restricts that requirement (1) to Linux-based systems, and (2) to systems where /dev/kvm already exists. I’m not sure about the way to handle (2). We could special-case

[Nix-dev] [PATCH] Allow recovery from isValidPath RPCs with an invalid path

2014-03-18 Thread Ludovic Courtès
Hello, Currently, clients cannot recover from an isValidPath RPC with an invalid path parameter because the daemon closes the connection when that happens. More precisely: 1. in performOp, wopIsValidPath case, ‘readStorePath’ raises an ‘Error’ exception; 2. that exception is caught by

Re: [Nix-dev] LLVM builds on Hydra but not locally

2013-12-16 Thread Ludovic Courtès
Eelco Dolstra eelco.dols...@logicblox.com skribis: On 15/12/13 19:14, James Cook wrote: Thanks for pointing out the option, though; somehow I had assumed NixOS enabled that by default... is there a reason not to? Yes, chroot builds are slow. https://github.com/NixOS/nix/issues/179 That

Re: [Nix-dev] LLVM builds on Hydra but not locally

2013-12-16 Thread Ludovic Courtès
Eelco Dolstra eelco.dols...@logicblox.com skribis: On 16/12/13 13:56, Ludovic Courtès wrote: Not much I presume. When you do have 100 derivations to build, their body will typically take longer than ‘touch $out’. At this point, the overhead shouldn’t matter this much. NixOS has lots

[Nix-dev] GNU Guix 0.5 released

2013-12-11 Thread Ludovic Courtès
We are pleased to announce release of GNU Guix version 0.5, representing 395 commits by 11 people over 2 months. This release comes with an updated QEMU virtual machine image that shows preliminary work toward building a stand-alone GNU system with Guix. The image uses the GNU Linux-Libre kernel

Re: [Nix-dev] Nixpkgs-Monitor service is online

2013-11-01 Thread Ludovic Courtès
Hi! phree...@yandex.ru skribis: I'd like to unveil this new service, which will hopefully help us keep Nix stuff fresh and secure: http://vdmvtkitqc3grub6.onion.to/ Looks nice. Could you say a bit more how it works? From our IRC discussion, the “Coverage” number represents the number of

Re: [Nix-dev] Flash broken in Firefox 22?

2013-07-15 Thread Ludovic Courtès
Hello, I recommend using GNU Gnash, which works well for YouTube for instance, while preserving your computing freedom. Ludo’. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Deterministic(bit-perfect) Builds

2013-06-25 Thread Ludovic Courtès
Many syscalls (uname, gettimeofday, etc.) and OS interfaces (/proc, /dev, /sys, etc.) leak info. Name spaces, personality(2), and similar help, but it looks like an endless quest. Ludo’. ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] Error deleting a jobset or a project in hydra

2013-06-12 Thread Ludovic Courtès
Eelco Dolstra eelco.dols...@logicblox.com skribis: On 11/06/13 16:18, Marco Maggesi wrote: it seems that the mechanism for deleting a jobset or a project from hydra is currently broken. I just committed a fix for this. ISTR that Rob considered deletion “deprecated” in favor of the “hiding”

Re: [Nix-dev] Using several versions of GHC at once

2013-06-12 Thread Ludovic Courtès
Hi! Nikita Karetnikov nik...@karetnikov.org skribis: I'm trying to install several versions of GHC. There are two problems: 1. According to this page [1], it should be possible to use multiple versions at once. But 'nix-env -iA' always replaces the previous version. For example,

Re: [Nix-dev] getconf PATH

2013-06-03 Thread Ludovic Courtès
Peter Simons sim...@cryp.to skribis: the patch https://github.com/NixOS/nixpkgs/pull/586 fixes this issue (in stdenv-updates). Does anyone see a reason not to merge this? Seems that the patch would work for both NixOS and non-NixOS distros, so it looks good to me. (Though CS_PATH seems to be

[Nix-dev] Authenticating binary substitutes

2013-05-22 Thread Ludovic Courtès
Hello, Currently the “binary cache” substituter relies on DNS to authenticate downloaded binaries: anything coming from, say, hydra.nixos.org is considered authentic, because hydra.nixos.org is listed in the ‘trusted-binary-cache’ list. This is obviously subject to person-in-the-middle attacks:

Re: [Nix-dev] Authenticating binary substitutes

2013-05-22 Thread Ludovic Courtès
(Re-adding bug-guix@.) Eelco Dolstra eelco.dols...@logicblox.com skribis: On 22/05/13 11:12, Ludovic Courtès wrote: Currently the “binary cache” substituter relies on DNS to authenticate downloaded binaries: anything coming from, say, hydra.nixos.org is considered authentic, because

Re: [Nix-dev] Authenticating binary substitutes

2013-05-22 Thread Ludovic Courtès
Eelco Dolstra eelco.dols...@logicblox.com skribis: On 22/05/13 16:16, Ludovic Courtès wrote: I think it’s enough to sign nars. What do you think it would add to sign narinfos as well? I think it's enough to sign the narinfo, since it contains the hash of the NAR (which Nix already

[Nix-dev] Guix paper at the European Lisp Symposium

2013-05-21 Thread Ludovic Courtès
Hello! FYI a paper presenting the design of Guix’s Scheme API and packaging EDSL has been accepted for the 2013 European Lisp Symposium (ELS), which will take place in Madrid on June 3–4: http://arxiv.org/abs/1305.4584 Ludo’. ___ nix-dev mailing

[Nix-dev] GNU Guix 0.2 released

2013-05-13 Thread Ludovic Courtès
We are pleased to announce GNU Guix version 0.2, the second alpha release, representing 580 commits by 5 people over 4 months. • About GNU Guix is a functional package manager and distribution of the GNU system. In addition to standard package management features, Guix supports

Re: [Nix-dev] Discussion: env vars as glue

2013-04-15 Thread Ludovic Courtès
Hi! Lluís Batlle i Rossell vi...@viric.name skribis: What uses do you have for: ALSA_PLUGIN_DIRS GST_PLUGIN_PATH MOZ_PLUGIN_PATH QTWEBKIT_PLUGIN_PATH QT_PLUGIN_PATH STRIGI_PLUGIN_PATH I think fundamentally plug-ins are about dynamic composition, whereas Nix favors static composition.

Re: [Nix-dev] guile 2.0.7 test suite fails without IPv6 support

2013-04-11 Thread Ludovic Courtès
Hi Peter, The patch I originally sent had a thinko. Can you try with the just-released Guile 2.0.9, which contains a correct fix AFAICS? Thanks, Ludo’. ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] guile 2.0.7 test suite fails without IPv6 support

2013-04-11 Thread Ludovic Courtès
Eelco Dolstra eelco.dols...@logicblox.com skribis: OTOH, the error message suggests that the test tries to bind to a local port, which is inherently impure since another build might try to do the same thing at the same time. The test is skipped upon EADDRINUSE. Ludo’.

Re: [Nix-dev] guile 2.0.7 test suite fails without IPv6 support

2013-04-08 Thread Ludovic Courtès
Peter Simons sim...@cryp.to skribis: the test suite for guile-2.0.7 fails on my machine, complaining: ERROR: socket.test: AF_INET6/SOCK_STREAM: bind - arguments: ((system-error bind ~A (Cannot assign requested address) (99))) ERROR: socket.test: AF_INET6/SOCK_STREAM: bind/sockaddr -

Re: [Nix-dev] guile 2.0.7 test suite fails without IPv6 support

2013-04-08 Thread Ludovic Courtès
Hi Peter, Peter Simons sim...@cryp.to skribis: the test suite for guile-2.0.7 fails on my machine, complaining: ERROR: socket.test: AF_INET6/SOCK_STREAM: bind - arguments: ((system-error bind ~A (Cannot assign requested address) (99))) ERROR: socket.test: AF_INET6/SOCK_STREAM:

Re: [Nix-dev] Missing command suggestions

2013-03-25 Thread Ludovic Courtès
Hello! Eelco Dolstra eelco.dols...@logicblox.com skribis: NixOS now provides Ubuntu-style missing command suggestions. I implemented this a while ago, but now it's enabled by default as part of the NixOS channel. Nice! Can you say a bit about the implementation? Ludo’.

Re: [Nix-dev] Nixpkgs: libchop on stdenv

2013-03-02 Thread Ludovic Courtès
Hello, Vladimír Čunát vcu...@gmail.com skribis: Just a reminder in case you haven't noticed: libchop doesn't build on stdenv (due to using gets). http://hydra.nixos.org/job/nixpkgs/stdenv/libchop Thanks for the reminder. Commit b6452df fixes it. Ludo’.

Re: [Nix-dev] invalid mode for dlopen() (mixing master and stdenv-updates)

2013-03-02 Thread Ludovic Courtès
James Cook james.c...@utoronto.ca skribis: I updated $HOME/.nix-profile to a commit from the stdenv-updates branch (I tried commits fc82aa0 and face3a8). When I run commands, I get this error message: ls: error while loading shared libraries: __vdso_time: invalid mode for dlopen():

[Nix-dev] [Hydra] DBIx schemas, case folding, and PostgreSQL 8.4

2013-02-10 Thread Ludovic Courtès
Hello, I hit a case-sensitivity issue with Hydra on PostgreSQL 8.4: http://thread.gmane.org/gmane.comp.lang.perl.modules.dbi.general/16888 Normally case-sensitivity isn’t an issue because DBIC doesn’t quote identifiers. However, it does quote them when looking for a sequence, hence the

Re: [Nix-dev] Bundling nix-expressions with source code

2013-01-28 Thread Ludovic Courtès
Hi, Eelco Dolstra eelco.dols...@logicblox.com skribis: On 25/01/13 09:32, Rickard Nilsson wrote: I see nix is getting quite popular :-) The maintainer is of course welcome to maintain also the nix expression *within* nixpkgs, who else is a better candidate... Yes, absolutely, and that is

Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-24 Thread Ludovic Courtès
Shea Levy s...@shealevy.com skribis: On 01/23/2013 06:12 PM, Ludovic Courtès wrote: Shea Levy s...@shealevy.com skribis: On 01/21/2013 05:39 AM, Ludovic Courtès wrote: [...] In theory yes, because ‘import’ in the Nix language can import .drv files–a little-known feature

Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-23 Thread Ludovic Courtès
Shea Levy s...@shealevy.com skribis: On 01/21/2013 05:39 AM, Ludovic Courtès wrote: [...] In theory yes, because ‘import’ in the Nix language can import .drv files–a little-known feature. ;-) In practice, though, it can only do that if the .drv defines an environment variable called

Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-21 Thread Ludovic Courtès
Hi, Florian Friesdorf f...@chaoflow.net skribis: Ludovic Courtès l...@gnu.org writes: Florian Friesdorf f...@chaoflow.net skribis: What are your thoughts on generating nix expressions from guix expressions for the purpose of package definition? Do you mean the opposite–generating Guix

Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-21 Thread Ludovic Courtès
Michael Raskin 7c6f4...@mail.ru skribis: Do you mean the opposite–generating Guix expressions from Nix? I actually meant guix - nix, as guix being within a full language, I had gut feeling this direction might be preferable, see also below. I think conversion has the same problem in both

Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-20 Thread Ludovic Courtès
Hi, Florian Friesdorf f...@chaoflow.net skribis: What are your thoughts on generating nix expressions from guix expressions for the purpose of package definition? Do you mean the opposite–generating Guix expressions from Nix? If so, there’s the guix-import program, which works like this:

Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-20 Thread Ludovic Courtès
Hi Marc, Marc Weber marco-owe...@gmx.de skribis: - why you go this way. One reason I can think of is because scheme might be more powerful than nix language. Are there more reasons? Technically, I believe an EDSL has more to offer than a DSL with its own implementation: tooling

[Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-18 Thread Ludovic Courtès
;; Announcement. -*- scheme -*- (define guix (package (name guix) (version 0.1) ; first alpha release (source (origin (method url-fetch) (uri ftp://alpha.gnu.org/gnu/guix/guix-0.1.tar.gz;)

Re: [Nix-dev] reproducable systems at a (much) later point / archive.org

2013-01-09 Thread Ludovic Courtès
Hi! Florian Friesdorf f...@chaoflow.net skribis: Given that nix would support a last-resort mirror and given we could convince some instution (e.g. archive.org) to provide such a mirror, the world would be always able to exactly reproduce software installations and we could show our /

Re: [Nix-dev] Down with /bin/sh!

2013-01-03 Thread Ludovic Courtès
Hi Rob! Rob Vermaas rob.verm...@gmail.com skribis: • Right after unpacking a source tarball, all the source files go through ‘patch-shebang’, which replaces any #!/bin/sh and similar with the right path. I would not like such a change in stdenv of nixpkgs, without an option to

Re: [Nix-dev] Nix 1.2 released

2012-12-07 Thread Ludovic Courtès
Hi! Congrats on the release. :-) Eelco Dolstra eelco.dols...@logicblox.com skribis: * Store optimisation (replacing identical files in the store with hard links) can now be done automatically every time a path is added to the store. This is enabled by setting the configuration

Re: [Nix-dev] end-of-life kernels

2012-11-18 Thread Ludovic Courtès
Hi, I think initially some of the old kernels were re-added by a colleague of mine to allow continuous integration testing of a kernel module against a variety of Linux versions. It’s no longer used, but that kind of use may still make sense. Thanks, Ludo’.

Re: [Nix-dev] Dealing with non-Bash /bin/sh on non-NixOS

2012-11-06 Thread Ludovic Courtès
Hi, Eelco Dolstra eelco.dols...@logicblox.com skribis: On 03/11/12 15:24, Ludovic Courtès wrote: A common problem for people trying to use Nix/Nixpkgs/Guix on non-NixOS distros, especially Debian derivatives, is that their /bin/sh is not Bash. On Debian and derivatives, it’s a symlink

[Nix-dev] Dealing with non-Bash /bin/sh on non-NixOS

2012-11-03 Thread Ludovic Courtès
Hello! A common problem for people trying to use Nix/Nixpkgs/Guix on non-NixOS distros, especially Debian derivatives, is that their /bin/sh is not Bash. On Debian and derivatives, it’s a symlink to /bin/dash. When building without a chroot, things eventually fail because stdenv, and sometimes

Re: [Nix-dev] Dealing with non-Bash /bin/sh on non-NixOS

2012-11-03 Thread Ludovic Courtès
Hi Michael, Michael Raskin 7c6f4...@mail.ru skribis: I have some basic-chroot.nix, which is what basics I need to do Nix builds and look at simple problems comfortably. It is literally: let nixpkgs = import nixpkgs {}; in with nixpkgs; symlinkJoin chroot-system [ nixUnstable

Re: [Nix-dev] Dealing with non-Bash /bin/sh on non-NixOS

2012-11-03 Thread Ludovic Courtès
Hi, Michael Raskin 7c6f4...@mail.ru skribis: [...] I was thinking that, instead of just bind-mounting /bin, we could have at least a nix-daemon option that would allow the host code to specify which file /bin/sh should point to. Even better would be to have an additional ‘derivation’

Re: [Nix-dev] [PATCH] Add a smatch package.

2012-10-05 Thread Ludovic Courtès
Hello! Applied with a minor tweak: the ‘fetchgit’ invocation must be passed the expected SHA256, so we know what we expect (that makes it a fixed-output derivation, which can actually access the network, unlike regular derivations in chroot.) Thanks, Ludo’.

Re: [Nix-dev] Automake Question

2012-09-09 Thread Ludovic Courtès
Hi Noah! :-) Noah Lavine noah.b.lav...@gmail.com skribis: The issue is that when trying to build GNU Guile, automake needs the AM_GNU_GETTEXT macro. But even after installing automake and gettext through Nix, I still don't have that macro available. On NixOS, the ‘ACLOCAL_PATH’ environment

[Nix-dev] Preliminary support for Guile Guix in Hydra

2012-08-16 Thread Ludovic Courtès
Hello! The ‘guile-support’ branch in Hydra adds support for Guile, so that users can choose whether to write their build recipes in the Nix language or in Guile (with Guix). It basically “works for me” in an instance running on my laptop, but I’m interested in review and general feedback.

Re: [Nix-dev] [ANN] Guix, functional package management from Guile

2012-07-22 Thread Ludovic Courtès
Hi Marc, Marc Weber marco-owe...@gmx.de skribis: One of the core features of nix is that its lazy - I guess that's one of the main reason why Eelco didn't just use python/ruby/perl ... So what do you think about how performance would compare? While Scheme itself isn’t lazy, Guix itself is,

[Nix-dev] [***SPAM***] Re: Depending on Autoconf, Automake, and Libtool

2012-07-09 Thread Ludovic Courtès
Hi, Eelco Dolstra eelco.dols...@logicblox.com skribis: Maybe a better solution, given the track record of the Autotools with respect to backwards compatibility, is that packages should depend on a particular version of the Autotools (e.g. automake_1_11). Agreed. To encourage that we

Re: [Nix-dev] [***SPAM***] [ANN] Guix, functional package management from Guile

2012-07-09 Thread Ludovic Courtès
Hey, Sander van der Burg - EWI s.vanderb...@tudelft.nl skribis: Awesome experiment Ludovic! Thanks. :-) Actually, I had some crazy ideas in the past as well. For example, to develop an internal DSL for Nix in Scala (no specific reason why it's useful, but oh well) Yeah, I believe

[Nix-dev] [***SPAM***] Depending on Autoconf, Automake, and Libtool

2012-07-07 Thread Ludovic Courtès
Hello! I just upgraded GNU Autoconf and Automake, which, as I saw Hydra go and rebuild all of KDE because libmng depends on those, inspired me this rant. Golden Rule: Never ever add a dependency on Autoconf, Automake, or Libtool, unless you’re confident that you cannot do otherwise at all.

[Nix-dev] [***SPAM***] [ANN] Guix, functional package management from Guile

2012-07-07 Thread Ludovic Courtès
Hello! I am delighted to announce Guix, a purely functional package management tool. https://gitorious.org/guix http://www.fdn.fr/~lcourtes/software/guix-0.0.tar.gz SHA1: 30d99946c67e9a015bb9817b3731765aadc533be Guix is written in Guile Scheme. It builds on top of the low-level build

Re: [Nix-dev] [***SPAM***] [ANN] Guix, functional package management from Guile

2012-07-07 Thread Ludovic Courtès
Hey! (Stripping Cc:.) Shea Levy s...@shealevy.com skribis: On Jul 7, 2012, at 5:55 PM, l...@gnu.org (Ludovic Courtès) wrote: in Guix, the cheat code is the ‘nixpkgs-derivation’ procedure. :-) Does the referenced derivation need to actually be in nixpkgs? Yes. I assume this works

Re: [Nix-dev] Anarchy

2012-06-30 Thread Ludovic Courtès
Hi Michael, Michael Weiss w...@borasi.de skribis: Let's talk about names. In fact names don’t matter with Nix. Each package is basically a function that returns an attribute set and derivation or store path. This result is a first-class object in the Nix language, so it can be assigned to any

Re: [Nix-dev] Announcing free-nix: the free Linux distribution based on the Nix package manager

2012-06-28 Thread Ludovic Courtès
Hello! Peter Simons sim...@cryp.to skribis: Eelco revoked all access of all regular contributors without prior warning. While I agree that this is a major annoyance (especially as someone who administrates a Hydra instance and is currently unable to help fix bugs), I believe it’s mostly the

Re: [Nix-dev] Announcing free-nix: the free Linux distribution based on the Nix package manager

2012-06-28 Thread Ludovic Courtès
Hi, Peter Simons sim...@cryp.to skribis: However, that is exactly the kind of decision to be taken in a vote of majority. If the majority of community members feels that we should not package non-free software (according to some definition), then that's how it's going to be. If I were you,

Re: [Nix-dev] github notifications

2012-06-25 Thread Ludovic Courtès
Oh, and could we get diffs in the commit notifications? :-) Thanks, Ludo’. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] [PATCH] GNU Coreutils: Allow builds with newer versions of glibc.

2012-06-25 Thread Ludovic Courtès
--- pkgs/tools/misc/coreutils/default.nix | 11 +++- pkgs/tools/misc/coreutils/gets-undeclared.patch | 71 +++ 2 files changed, 80 insertions(+), 2 deletions(-) create mode 100644 pkgs/tools/misc/coreutils/gets-undeclared.patch diff --git

  1   2   3   4   5   >