Re: [Nix-dev] confused by the recent channels stuff

2012-04-23 Thread Mathijs Kwik
On Mon, Apr 23, 2012 at 2:52 AM, Eelco Dolstra eelco.dols...@logicblox.com wrote: Hi, On 22/04/12 11:03, Mathijs Kwik wrote: However, I have some local packages in my /etc/nixos/nixpkgs, and they are not available anymore. So I guess channels are not for people who want to have some local

Re: [Nix-dev] confused by the recent channels stuff

2012-04-23 Thread Mathijs Kwik
On Mon, Apr 23, 2012 at 9:00 AM, Mathijs Kwik math...@bluescreen303.nl wrote: On Mon, Apr 23, 2012 at 2:52 AM, Eelco Dolstra eelco.dols...@logicblox.com wrote: Hi, On 22/04/12 11:03, Mathijs Kwik wrote: However, I have some local packages in my /etc/nixos/nixpkgs, and they are not

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r33823 - nixos/trunk/modules/programs/bash

2012-04-23 Thread Peter Simons
Hi Eelco, /etc/nixos/{nixos,nixpkgs} are gone in the installation CD and on newly installed systems. The sources are now in the channels profile, so nix-channel --update will replace them with the latest version, if desired. in this new setup, what is the difference between nix-channel

Re: [Nix-dev] confused by the recent channels stuff

2012-04-23 Thread Lluís Batlle i Rossell
Hello, On Mon, Apr 23, 2012 at 02:52:38AM +0200, Eelco Dolstra wrote: On 22/04/12 11:03, Mathijs Kwik wrote: However, I have some local packages in my /etc/nixos/nixpkgs, and they are not available anymore. So I guess channels are not for people who want to have some local modifications.

[Nix-dev] Building vboxguest failed.

2012-04-23 Thread Alexey Ivanov
virtualbox guest additions http://i.imgur.com/n5zRJ.png log here http://sprunge.us/LHGQ irc log: [07:54:14] shlevy krab: Not nix-specific, see http://ubuntuforums.org/showthread.php?t=1888470 . Looks like a newer vbox will fix this, but a patch is possible. Please post the issue to the ML, I or

Re: [Nix-dev] gcc for MacOS X

2012-04-23 Thread Konrad Hinsen
Ludovic Courtès writes: The attached patch incorporates all these changes. I tried to install gcc46 after applying your patches. stdenv builds fine, but mpfr (a dependency of gcc46) fails at the link stage: ld: pointer in read-only segment not allowed in slidable image, used in

Re: [Nix-dev] nix configuration language

2012-04-23 Thread Marc Weber
Excerpts from Ben Franksen's message of Mon Apr 23 10:53:26 +0200 2012: Would it be sensible or even possible to factor out the configuration language from the nix package and distribute it separately? Such things are always possible. I think you should talk about your use case first.

[Nix-commits] SVN commit: nix - r33889 - in nixpkgs/trunk/pkgs: applications/version-management/darcs development/libraries/haskell/Graphalyze development/libraries/haskell/Hipmunk development/librari

2012-04-23 Thread Peter Simons
Author: simons Date: Mon Apr 23 09:34:01 2012 New Revision: 33889 URL: https://nixos.org/websvn/nix/?rev=33889sc=1 Log: Updated Haskell packages. - alternative-io: updated to version 0.0.1 - blaze-markup: added version 0.5.1.0 - crypto-conduit: updated to version 0.3.2 - cryptohash: updated

Re: [Nix-dev] gcc for MacOS X

2012-04-23 Thread Ludovic Courtès
Hi Konrad, Thanks for looking into it. I’m currently testing a modified version of the patch that uses GCC in stdenv (instead of Apple’s GCC). I’ll make sure to test as much as possible before committing. :-) Ludo’. ___ nix-dev mailing list

Re: [Nix-dev] nix configuration language

2012-04-23 Thread Ben Franksen
Marc Weber wrote: Excerpts from Ben Franksen's message of Mon Apr 23 10:53:26 +0200 2012: Would it be sensible or even possible to factor out the configuration language from the nix package and distribute it separately? Such things are always possible. I think you should talk about your use

Re: [Nix-dev] nix configuration language

2012-04-23 Thread Marc Weber
Excerpts from Ben Franksen's message of Mon Apr 23 12:42:14 +0200 2012: I don't know how I can execute a 'nix-language script'. Is there a tool in the nix package that I could use for that? the nix suite ships with test cases. If you look at those you'll find that its nix-instantiate

Re: [Nix-dev] nix configuration language

2012-04-23 Thread Ben Franksen
Marc Weber wrote: Excerpts from Ben Franksen's message of Mon Apr 23 12:42:14 +0200 2012: I don't know how I can execute a 'nix-language script'. Is there a tool in the nix package that I could use for that? the nix suite ships with test cases. If you look at those you'll find that its

Re: [Nix-dev] nix configuration language

2012-04-23 Thread Ben Franksen
Ben Franksen wrote: Checking out the nix sources via git, I can't even build it: ben@sarun[1]: .../tmp/nix git status # On branch master nothing to commit (working directory clean) ben@sarun[1]: .../tmp/nix ./bootstrap.sh autoreconf: Entering directory `.' autoreconf: configure.ac: not

[Nix-commits] SVN commit: nix - r33890 - nixpkgs/branches/stdenv-updates/pkgs/development/libraries/pcre

2012-04-23 Thread Eelco Dolstra
Author: eelco Date: Mon Apr 23 12:42:03 2012 New Revision: 33890 URL: https://nixos.org/websvn/nix/?rev=33890sc=1 Log: * Revert pcre (r33561). It breaks Apache (http://hydra.nixos.org/build/2447441). Modified: nixpkgs/branches/stdenv-updates/pkgs/development/libraries/pcre/default.nix

[Nix-commits] SVN commit: nix - r33891 - nixos/trunk/modules/installer/grub

2012-04-23 Thread Eelco Dolstra
Author: eelco Date: Mon Apr 23 15:47:03 2012 New Revision: 33891 URL: https://nixos.org/websvn/nix/?rev=33891sc=1 Log: * Put old NixOS configurations in a GRUB submenu. Contributed by Andreas Källberg. Modified: nixos/trunk/modules/installer/grub/grub-menu-builder.sh Modified:

[Nix-commits] SVN commit: nix - r33892 - nixpkgs/trunk/pkgs/tools/text/gnupatch

2012-04-23 Thread Ludovic Courtès
Author: ludo Date: Mon Apr 23 15:47:21 2012 New Revision: 33892 URL: https://nixos.org/websvn/nix/?rev=33892sc=1 Log: GNU Patch: On Darwin, use an existing tarball, and patch from there. Added: nixpkgs/trunk/pkgs/tools/text/gnupatch/darwin-fix.patch Modified:

[Nix-commits] SVN commit: nix - r33893 - in nixpkgs/trunk/pkgs: build-support/native-darwin-cctools-wrapper development/compilers/ghc development/compilers/llvm development/interpreters/python/2.6 dev

2012-04-23 Thread Ludovic Courtès
Author: ludo Date: Mon Apr 23 15:47:31 2012 New Revision: 33893 URL: https://nixos.org/websvn/nix/?rev=33893sc=1 Log: Darwin: Add `mig', `lipo', etc. to `stdenvNative'. Consequently, remove `darwinLipoUtility', `darwinArchUtility', etc. Deleted:

Re: [Nix-dev] [PATCH] Put old generations in grub submenu (NixOS)

2012-04-23 Thread Eelco Dolstra
Hi, On 11/03/12 12:15, Eelco Dolstra wrote: I have made a patch which adds an option (config.boot.loader.grub.oldVersionsInSubmenu) for hiding the old versions of the system in a submenu to reduce cluttering. Awesome ! Indeed, I didn't know about the existence of this feature in Grub. I

Re: [Nix-dev] gcc for MacOS X

2012-04-23 Thread Ludovic Courtès
Hello! Here we are! ‘stdenvNative’ on Darwin now uses GCC 4.6, like on all the other platforms. The Darwin-specific tools (‘arch’, ‘sw_vers’, etc.) are now part of ‘stdenv’ as well, and ‘darwinArchUtility’ co. are gone. Let me know if there’s anything wrong! Ludo’.

[Nix-commits] SVN commit: nix - r33896 - nixpkgs/trunk/pkgs/development/compilers/gcc/4.6

2012-04-23 Thread Ludovic Courtès
Author: ludo Date: Mon Apr 23 16:28:06 2012 New Revision: 33896 URL: https://nixos.org/websvn/nix/?rev=33896sc=1 Log: GCC 4.6: Don't bail out when `gnused' isn't provided. Modified: nixpkgs/trunk/pkgs/development/compilers/gcc/4.6/default.nix Modified:

Re: [Nix-dev] gcc for MacOS X

2012-04-23 Thread Konrad Hinsen
Ludovic Courtès writes: Here we are! ‘stdenvNative’ on Darwin now uses GCC 4.6, like on all the other platforms. The Darwin-specific tools (‘arch’, ‘sw_vers’, etc.) are now part of ‘stdenv’ as well, and ‘darwinArchUtility’ co. are gone. Let me know if there’s anything wrong! Same

[Nix-commits] SVN commit: nix - r33898 - nixpkgs/trunk/pkgs/top-level

2012-04-23 Thread Ludovic Courtès
Author: ludo Date: Mon Apr 23 22:31:39 2012 New Revision: 33898 URL: https://nixos.org/websvn/nix/?rev=33898sc=1 Log: allStdenvs: Propagate `system'. Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix

Re: [Nix-dev] gcc for MacOS X

2012-04-23 Thread Ludovic Courtès
Hi! Eelco Dolstra eelco.dols...@logicblox.com skribis: Darwin builds seem to be failing due to a missing /bin/bash: http://hydra.nixos.org/eval/613969 Oops! Use of ‘allStdenvs.stdenvNative’ exposed a bug whereby ‘system’ would not be propagated through all the stdenvs. Thus, running

Re: [Nix-dev] gcc for MacOS X

2012-04-23 Thread Ludovic Courtès
Hi Konrad, I think I understand the problem you’re experiencing: Konrad Hinsen konrad.hin...@fastmail.net skribis: I tried to install gcc46 after applying your patches. stdenv builds fine, but mpfr (a dependency of gcc46) fails at the link stage: ld: pointer in read-only segment not

Re: [Nix-dev] gcc for MacOS X

2012-04-23 Thread Ludovic Courtès
Hi, Konrad Hinsen konrad.hin...@fastmail.net skribis: Actually, I wonder how your setup works: if stdenv contains gcc46, and building gcc46 requires stdenv, what gets built first? For Nixpkgs, Darwin is an “impure” platform–i.e., Nixpkgs assumes some tools are initially available on the

[Nix-commits] SVN commit: nix - r33899 - nixpkgs/trunk/pkgs/top-level

2012-04-23 Thread Ludovic Courtès
Author: ludo Date: Mon Apr 23 23:04:05 2012 New Revision: 33899 URL: https://nixos.org/websvn/nix/?rev=33899sc=1 Log: GNU Readline 6.x: Build with Apple-GCC on Darwin. Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix