[Nix-commits] SVN commit: nix - r30052 - nixpkgs/trunk/pkgs/build-support/clang-wrapper

2011-10-26 Thread Shea Levy
Author: shlevy Date: Thu Oct 27 06:39:45 2011 New Revision: 30052 URL: https://nixos.org/websvn/nix/?rev=30052&sc=1 Log: Use -isystem instead of -I for system headers to avoid warnings when using -pedantic Modified: nixpkgs/trunk/pkgs/build-support/clang-wrapper/builder.sh Modified: nixpkgs/

[Nix-commits] SVN commit: nix - r30051 - nixpkgs/trunk/pkgs/development/compilers/llvm

2011-10-26 Thread Shea Levy
Author: shlevy Date: Thu Oct 27 06:04:00 2011 New Revision: 30051 URL: https://nixos.org/websvn/nix/?rev=30051&sc=1 Log: The clang static analyzer can be accessed through clang --analyze, no need for scan-build and view Modified: nixpkgs/trunk/pkgs/development/compilers/llvm/clang.nix Modifi

Re: [Nix-dev] Why Nix-0.16 so hungry on ressources (mem + cpu) ?

2011-10-26 Thread Lluís Batlle i Rossell
On Wed, Oct 26, 2011 at 05:47:49PM -0400, Paul Dufresne wrote: > Having problems downloading the MANIFEST.bz2 file on nixpkgs-unstable > with my 56k modem (I always get curl error 18, between 0% and 50% of > the 19Mb file), I downloaded on a computer with high-speed Internet, > along the nixexprs.t

[Nix-commits] SVN commit: nix - r30050 - nixos/trunk/modules/misc

2011-10-26 Thread Eelco Dolstra
Author: eelco Date: Wed Oct 26 23:44:13 2011 New Revision: 30050 URL: https://nixos.org/websvn/nix/?rev=30050&sc=1 Log: * Fix EC2 terminology: zone -> region. (Availability zones are something else.) Modified: nixos/trunk/modules/misc/deployment.nix Modified: nixos/trunk/modules/misc/deplo

[Nix-dev] Why Nix-0.16 so hungry on ressources (mem + cpu) ?

2011-10-26 Thread Paul Dufresne
Having problems downloading the MANIFEST.bz2 file on nixpkgs-unstable with my 56k modem (I always get curl error 18, between 0% and 50% of the 19Mb file), I downloaded on a computer with high-speed Internet, along the nixexprs.tar.bz2, on my usb key in a directory called MyChannel. I then used nix

[Nix-commits] SVN commit: nix - r30049 - nixos/trunk/modules/services/x11/desktop-managers

2011-10-26 Thread Eelco Dolstra
Author: eelco Date: Wed Oct 26 21:47:03 2011 New Revision: 30049 URL: https://nixos.org/websvn/nix/?rev=30049&sc=1 Log: * Ensure that the "kde" PAM module exists whn KDE is enabled. Previously, this was only enabled in the KDM module, so if you were using a different display manager than KDM,

Re: [Nix-dev] stdenv-updates

2011-10-26 Thread Lluís Batlle i Rossell
On Wed, Oct 26, 2011 at 07:28:53PM +0200, Peter Simons wrote: > Hi guys, > > nixos-rebuild succeeds for stdenv-updates on Linux/x86_64. IMHO, that > branch ready for testing and finalizing, so that we can merge it into > trunk, eventually. I'll try to start the non-pc tests tomorrow. But someone

[Nix-commits] SVN commit: nix - r30048 - services/trunk/subversion

2011-10-26 Thread Eelco Dolstra
Author: eelco Date: Wed Oct 26 20:43:30 2011 New Revision: 30048 URL: https://nixos.org/websvn/nix/?rev=30048&sc=1 Log: * Use cleanSource. Modified: services/trunk/subversion/default.nix Modified: services/trunk/subversion/default.nix ==

[Nix-commits] SVN commit: nix - r30047 - services/trunk/subversion/src/scripts/hooks

2011-10-26 Thread Eelco Dolstra
Author: eelco Date: Wed Oct 26 20:43:08 2011 New Revision: 30047 URL: https://nixos.org/websvn/nix/?rev=30047&sc=1 Log: * The "svnlook" syntax changed in Subversion 1.7; it now requires a --revision flag. This broke our post-commit script. Modified: services/trunk/subversion/src/scripts/hoo

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r29855 - nixos/trunk/modules/system/boot

2011-10-26 Thread Eelco Dolstra
Hi, On 10/15/2011 11:01 PM, Nicolas Pierron wrote: > +if [ "$fsType" = "nfs" ]; then > + nfsmount "$device" "/mnt-root$mountPoint" && break > +else > + mount -t "$fsType" -o "$options" "$device" "/mnt-root$mountPoint" > && break Why is a special program needed

[Nix-dev] stdenv-updates

2011-10-26 Thread Peter Simons
Hi guys, nixos-rebuild succeeds for stdenv-updates on Linux/x86_64. IMHO, that branch ready for testing and finalizing, so that we can merge it into trunk, eventually. Take care, Peter ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.s

Re: [Nix-dev] Dynamic Dependency Management by Calling External Programs from Nix

2011-10-26 Thread Peter Simons
Hi Shea, > runCommand runs a command at _realisation_ time: you're already in a > builder, and you can't use the outputs of the command you ran in a nix > expression itself. thank you very much for the clarification. > builtins.exec, on the other hand, would run at _instantiation_ time. >

Re: [Nix-dev] [***SPAM***] Dynamic Dependency Management by Calling External Programs from Nix

2011-10-26 Thread Marc Weber
Excerpts from Eelco Dolstra's message of Wed Oct 26 17:38:28 +0200 2011: > No, these functions are not actually used by any package in Nixpkgs. But > they're used (e.g.) by Hydra jobs. The bulitin.readFile can then be used to read /root/* files and put those contents into the store if you run nix

Re: [Nix-dev] Dynamic Dependency Management by Calling External Programs from Nix

2011-10-26 Thread Marc Weber
Excerpts from Shea Levy's message of Wed Oct 26 17:13:13 +0200 2011: > boot.extraModulePackages = config.boot.kernelPackages.kernelModule "ext4" That's what I do for gimp: (pkgs.gimpGit.withPlugins [ "ufraw" "lqrPlugin" "fourier" "resynthesizer" "waveletSharpen" /*"gmic"*/ ]) and it work

Re: [Nix-dev] [***SPAM***] Dynamic Dependency Management by Calling External Programs from Nix

2011-10-26 Thread Marc Weber
> So we're already doing this in nixpkgs? How do nix-env -qa and the like > respond? They don't evaluate it (eg by omitting reucrseIntoAttrs) would be one way eventually. > Thanks for the info, glad I didn't do any work implementing this. This was new to me as well - thanks Eelco Dolstra for expl

Re: [Nix-dev] [***SPAM***] Dynamic Dependency Management by Calling External Programs from Nix

2011-10-26 Thread Shea Levy
On 10/26/11 11:38 AM, Eelco Dolstra wrote: > On 10/26/2011 05:30 PM, Shea Levy wrote: > >>> However, you don't want this most of the time, certainly not in Nixpkgs, >>> because >>> it causes query operations like "nix-env -qa" to do a build. Which is a bad >>> thing. Actually, since "nix-env -qa

Re: [Nix-dev] [***SPAM***] Dynamic Dependency Management by Calling External Programs from Nix

2011-10-26 Thread Eelco Dolstra
On 10/26/2011 05:30 PM, Shea Levy wrote: >> However, you don't want this most of the time, certainly not in Nixpkgs, >> because >> it causes query operations like "nix-env -qa" to do a build. Which is a bad >> thing. Actually, since "nix-env -qa" runs in read-only mode, it won't even >> work >

[Nix-commits] SVN commit: nix - r30034 - nixpkgs/trunk/pkgs/applications/version-management/subversion

2011-10-26 Thread Eelco Dolstra
Author: eelco Date: Wed Oct 26 15:32:56 2011 New Revision: 30034 URL: https://nixos.org/websvn/nix/?rev=30034&sc=1 Log: * Subversion updated to 1.7.1. Modified: nixpkgs/trunk/pkgs/applications/version-management/subversion/default.nix Modified: nixpkgs/trunk/pkgs/applications/version-managem

Re: [Nix-dev] [***SPAM***] Dynamic Dependency Management by Calling External Programs from Nix

2011-10-26 Thread Shea Levy
Hi, On 10/26/11 11:14 AM, Eelco Dolstra wrote: > Hi, > > On 10/25/2011 01:35 AM, Shea Levy wrote: > >> So I'd really like to see one of two solutions implemented (I'll do the >> implementation myself if Eelco is willing to consider accepting these >> solutions) >> in nix (possibly with an explici

Re: [Nix-dev] [***SPAM***] Dynamic Dependency Management by Calling External Programs from Nix

2011-10-26 Thread Eelco Dolstra
Hi, On 10/25/2011 01:35 AM, Shea Levy wrote: > So I'd really like to see one of two solutions implemented (I'll do the > implementation myself if Eelco is willing to consider accepting these > solutions) > in nix (possibly with an explicit command-line flag or nix.config setting to > enable them

Re: [Nix-dev] [***SPAM***] Dynamic Dependency Management by Calling External Programs from Nix

2011-10-26 Thread Shea Levy
On 10/25/11 2:29 PM, Marc Weber wrote: > First: > What is your goal? Have a kernel derivation expose a list of modules it > has built so that configuration.nix can fail because the kernel does not > support nvidia? > Thus you have to build the kernel before evaluation of nixos system > can finish?

Re: [Nix-dev] Dynamic Dependency Management by Calling External Programs from Nix

2011-10-26 Thread Shea Levy
Hi Peter, On 10/25/11 1:15 PM, Peter Simons wrote: > Hi Shea, > > > 1. builtins.exec. This builtin would take a string and would evaluate > > to a string. It would essentially call system() on its argument and > > evaluate to the output put to stdout by that command. > > I am not ex

[Nix-commits] SVN commit: nix - r30033 - in nixpkgs/branches/stdenv-updates: . pkgs/applications/graphics/xscreensaver pkgs/applications/misc/xneur pkgs/applications/networking/browsers/icecat-4 pkgs/

2011-10-26 Thread Peter Simons
Author: simons Date: Wed Oct 26 11:14:29 2011 New Revision: 30033 URL: https://nixos.org/websvn/nix/?rev=30033&sc=1 Log: synchronize with trunk Deleted: nixpkgs/branches/stdenv-updates/pkgs/development/libraries/dragonegg/ nixpkgs/branches/stdenv-updates/pkgs/development/libraries/haskell/c

[Nix-commits] SVN commit: nix - r30032 - in nixpkgs/trunk/pkgs/development/libraries: dragonegg haskell/cabal2nix

2011-10-26 Thread Peter Simons
Author: simons Date: Wed Oct 26 10:51:24 2011 New Revision: 30032 URL: https://nixos.org/websvn/nix/?rev=30032&sc=1 Log: prune empty directories Deleted: nixpkgs/trunk/pkgs/development/libraries/dragonegg/ nixpkgs/trunk/pkgs/development/libraries/haskell/cabal2nix/ _

[Nix-commits] SVN commit: nix - r30031 - nixpkgs/branches/stdenv-updates/pkgs/top-level

2011-10-26 Thread Peter Simons
Author: simons Date: Wed Oct 26 10:48:55 2011 New Revision: 30031 URL: https://nixos.org/websvn/nix/?rev=30031&sc=1 Log: Revert stdenv glibc back to version 2.13. Note that I didn't touch the glibcCross attribute! That still points to glibc 2.14. Modified: nixpkgs/branches/stdenv-updates/pkg

[Nix-commits] SVN commit: nix - r30030 - nixpkgs/branches/stdenv-updates/pkgs/development/libraries/glibc-2.13

2011-10-26 Thread Peter Simons
Author: simons Date: Wed Oct 26 10:47:19 2011 New Revision: 30030 URL: https://nixos.org/websvn/nix/?rev=30030&sc=1 Log: added glibc-2.13 again Added: nixpkgs/branches/stdenv-updates/pkgs/development/libraries/glibc-2.13/ nixpkgs/branches/stdenv-updates/pkgs/development/libraries/glibc-2.1

[Nix-commits] SVN commit: nix - r30029 - in nixpkgs/branches/stdenv-updates/pkgs: development/libraries/libtirpc top-level

2011-10-26 Thread Peter Simons
Author: simons Date: Wed Oct 26 10:32:40 2011 New Revision: 30029 URL: https://nixos.org/websvn/nix/?rev=30029&sc=1 Log: libtirpc: added version 0.2.2 The glibc maintainers in their wisdom have dropped RPC support. That change causes plenty of builds to fail, like PAM. Users are supposed to use l

[Nix-commits] SVN commit: nix - r30028 - nixpkgs/branches/stdenv-updates/pkgs/tools/misc/coreutils

2011-10-26 Thread Peter Simons
Author: simons Date: Wed Oct 26 09:58:19 2011 New Revision: 30028 URL: https://nixos.org/websvn/nix/?rev=30028&sc=1 Log: coreutils: added missing xz build input Modified: nixpkgs/branches/stdenv-updates/pkgs/tools/misc/coreutils/default.nix Modified: nixpkgs/branches/stdenv-updates/pkgs/tools