[Nix-dev] nixos svn commit 33222 (Improved Upstart job handling in switch-to-configuration)

2012-03-18 Thread Mathijs Kwik
Hi all, The mongodb upstart task uses setuid to run as a different user. Upstart switches to this user for the script itself, but for the pre-start script as well. For the new switch-to-configuration handling, the following line was added: ln -sfn $(readlink -f /etc/init/${job.name}.conf)

[Nix-commits] SVN commit: nix - r33226 - nixos/trunk/modules/hardware/cpu

2012-03-18 Thread Mathijs Kwik
Author: mkwik Date: Sun Mar 18 08:10:32 2012 New Revision: 33226 URL: https://nixos.org/websvn/nix/?rev=33226sc=1 Log: fixed intel microcode loading during boot Modified: nixos/trunk/modules/hardware/cpu/intel-microcode.nix Modified: nixos/trunk/modules/hardware/cpu/intel-microcode.nix

[Nix-commits] SVN commit: nix - r33227 - nixpkgs/trunk/pkgs/data/fonts/dejavu-fonts

2012-03-18 Thread Mathijs Kwik
Author: mkwik Date: Sun Mar 18 08:11:14 2012 New Revision: 33227 URL: https://nixos.org/websvn/nix/?rev=33227sc=1 Log: dejavu-fonts broke during the merge of stdenv-upgrade. problem/fix described here: http://comments.gmane.org/gmane.comp.fonts.dejavu/3608 Modified:

[Nix-commits] SVN commit: nix - r33228 - in nixpkgs/trunk/pkgs: games/gtypist top-level

2012-03-18 Thread Mathijs Kwik
Author: mkwik Date: Sun Mar 18 08:11:17 2012 New Revision: 33228 URL: https://nixos.org/websvn/nix/?rev=33228sc=1 Log: gtypist, typing tutor Now all I need is time to practise :) Added: nixpkgs/trunk/pkgs/games/gtypist/ nixpkgs/trunk/pkgs/games/gtypist/default.nix Modified:

Re: [Nix-dev] Installation of polkit fails

2012-03-18 Thread Ilja Honkonen
Nix installation of polkit fails for me. I installed nix from today's svn with: ilja [ ~ ]$ l /usr/share/gir-1.0/ Look at polkit configure flags. You need to explicitly tell it not to use gir (gobject introspection). Add to configureFlags. Why not use the corresponding directory in nix store

[Nix-dev] [PATCH] Fix grip compilation

2012-03-18 Thread Ilja Honkonen
Hello The attached patch fixes compilation of grip for me (http://yellowgrass.org/issue/Nixpkgs/121 and also when the store is under $HOME). Ilja --- pkgs/applications/misc/grip/default.nix (revision 33225) +++ pkgs/applications/misc/grip/default.nix (working copy) @@ -1,5 +1,5 @@ {

[Nix-commits] SVN commit: nix - r33229 - nixpkgs/trunk/pkgs/applications/misc/grip

2012-03-18 Thread Lluís Batlle
Author: viric Date: Sun Mar 18 09:24:42 2012 New Revision: 33229 URL: https://nixos.org/websvn/nix/?rev=33229sc=1 Log: Adding patch for grip (sent by Ilja Honkonen). I reworked the spacing. Modified: nixpkgs/trunk/pkgs/applications/misc/grip/default.nix Modified:

Re: [Nix-dev] [PATCH] Fix grip compilation

2012-03-18 Thread Lluís Batlle i Rossell
On Sun, Mar 18, 2012 at 10:54:02AM +0200, Ilja Honkonen wrote: Hello The attached patch fixes compilation of grip for me (http://yellowgrass.org/issue/Nixpkgs/121 and also when the store is under $HOME). Committed. Thank you! ___ nix-dev mailing

[Nix-commits] SVN commit: nix - r33232 - in nixpkgs/trunk/pkgs: applications/virtualization/qemu top-level

2012-03-18 Thread Lluís Batlle
Author: viric Date: Sun Mar 18 10:31:15 2012 New Revision: 33232 URL: https://nixos.org/websvn/nix/?rev=33232sc=1 Log: Adding qemu 1.0.1. Added: nixpkgs/trunk/pkgs/applications/virtualization/qemu/1.0.nix Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix Added:

Re: [Nix-dev] Review Request: Remove some packages with Qt3 dependency

2012-03-18 Thread Lluís
--- This is an automatically generated e-mail. To reply, visit: http://reviewboard.loegria.net/r/5/#review7 --- Ship it! Ship It! - Lluís On None, Yury Kudryashov wrote:

Re: [Nix-dev] uefi booting on nixos

2012-03-18 Thread Shea Levy
Hi Mathijs, On 3/18/12 8:23 AM, Mathijs Kwik wrote: Little progress: I upgraded to kernel 3.3 and set this config: boot.loader.efiBootStub = { enable = true; efiSysMountPoint = /efi; runEfibootmgr = true; installStartupNsh = true; }; I had to disable grub,

Re: [Nix-dev] uefi booting on nixos

2012-03-18 Thread Shea Levy
On 3/18/12 7:18 AM, Mathijs Kwik wrote: Shea Levys...@shealevy.com writes: Hi Mathijs, It's not totally complete. In particular, the installRemovableMediaImage option installs an EFI program that is a) really hacky and b) depends on protocols not available on every firmware (though when

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r33226 - nixos/trunk/modules/hardware/cpu

2012-03-18 Thread Eelco Dolstra
Hi, On 18/03/12 09:10, Mathijs Kwik wrote: config = mkIf config.hardware.cpu.intel.updateMicrocode { hardware.firmware = [ pkgs.microcodeIntel ]; -boot.kernelModules = [ microcode ]; + +# This cannot be done using boot.kernelModules +# discussion at

[Nix-dev] [PATCH] Add ffmpeg2theora

2012-03-18 Thread Ilja Honkonen
Hello The attached patch adds ffmpeg2theora to nixpkgs. It can make use of libkate but doesn't seem to find it currently. I also added the required ffmpeg-0.7.x. Please test, improve and add to nixpkgs. Thanks. Ilja Index: pkgs/tools/video/ffmpeg2theora/default.nix

Re: [Nix-dev] reviewboard

2012-03-18 Thread Ludovic Courtès
Hi, Yury G. Kudryashov urkud.ur...@gmail.com skribis: http://reviewboard.org FWIW, a “web-based code review tool” is never going to be powerful for me: using a web server puts me on the slow path. I would recommend keeping using email for that. In addition, Debbugs could be used to keep

Re: [Nix-dev] geeqie: remove?

2012-03-18 Thread Ludovic Courtès
Hi, Eelco Dolstra eelco.dols...@logicblox.com skribis: I also use both, but I don't know what libchamplain is or if it matters to me. Libchamplain support allows you to view a map on the side panel showing the shot location, when that information is available in the EXIF data. Ludo’.

Re: [Nix-dev] libtirpc

2012-03-18 Thread Ludovic Courtès
Hi, Yury G. Kudryashov urkud.ur...@gmail.com skribis: all-packages.nix calls the second one. BTW, nothing uses pkgs.libtirpc. Why do we need it? The GNU C library (2.14) dropped Sun/ONC RPC support, recommending TI-RPC as a replacement. Thus, applications should gradually move to that.

Re: [Nix-dev] reviewboard

2012-03-18 Thread Corey O'Connor
2012/3/18 Ludovic Courtès l...@gnu.org: Hi, Yury G.  Kudryashov urkud.ur...@gmail.com skribis: http://reviewboard.org FWIW, a “web-based code review tool” is never going to be powerful for me: using a web server puts me on the slow path. I would recommend keeping using email for that.  

Re: [Nix-dev] geeqie: remove?

2012-03-18 Thread Eelco Dolstra
Hi all, On 18/03/12 17:48, Ludovic Courtès wrote: I'm going to drop libchamplain support because it depends on really old version of libchamplain. Please don’t. Perhaps newer Geeqie versions can use newer libchamplain versions? Again, please don’t set such hard deadlines. Keeping

Re: [Nix-dev] reviewboard

2012-03-18 Thread Eelco Dolstra
Hi, On 18/03/12 18:01, Corey O'Connor wrote: IMO, use of git avoids some problems just by being distributed. The patches can be recorded to many repositories even if the submitting user does not have access to the master repository. And GitHub has pull requests and allows commenting on

[Nix-commits] SVN commit: nix - r33235 - nixos/trunk/modules/installer/cd-dvd nixos/trunk/modules/installer/efi-boot-stub nixpkgs/trunk/pkgs/os-specific/linux/kernel nixpkgs/trunk/pkgs/top-level

2012-03-18 Thread Shea Levy
Author: shlevy Date: Sun Mar 18 17:14:52 2012 New Revision: 33235 URL: https://nixos.org/websvn/nix/?rev=33235sc=1 Log: Add a kernel patch for the efi boot stub to read a config file when booted without arguments, and base removable media booting off of that patch The patch is currently being

Re: [Nix-dev] uefi booting on nixos

2012-03-18 Thread Shea Levy
With commit 33235 the livecd should be able to boot on most UEFI systems. Please let me know if it still fails on yours (make sure you get a cd built after that rev, of course). On 3/18/12 8:35 AM, Shea Levy wrote: Hi Mathijs, On 3/18/12 8:23 AM, Mathijs Kwik wrote: Little progress: I

Re: [Nix-dev] reviewboard

2012-03-18 Thread Ludovic Courtès
Hi, Corey O'Connor coreyocon...@gmail.com skribis: Patches submitted by email to the list get lost. Yes, I understand the problem, and I agree it’s important to fix it. Now, a web tool is likely to be too tedious for me to use, and I expect other hackers may not like having to jump to a

[Nix-commits] SVN commit: nix - r33236 - in nixos/trunk/modules: system/upstart tasks

2012-03-18 Thread Eelco Dolstra
Author: eelco Date: Sun Mar 18 17:48:19 2012 New Revision: 33236 URL: https://nixos.org/websvn/nix/?rev=33236sc=1 Log: * mountall: make the console output Upstart stanza do its work. We were redirecting output to /var/log/upstart/job, so it didn't work properly. * mountall-ip-up: send the

[Nix-commits] SVN commit: nix - r33237 - in nixos/trunk/modules: system/activation tasks

2012-03-18 Thread Eelco Dolstra
Author: eelco Date: Sun Mar 18 18:04:49 2012 New Revision: 33237 URL: https://nixos.org/websvn/nix/?rev=33237sc=1 Log: * Mark tasks such as mount-failed as not to be restarted. Modified: nixos/trunk/modules/system/activation/switch-to-configuration.sh

[Nix-commits] SVN commit: nix - r33238 - nixos/trunk/modules/system/upstart-events

2012-03-18 Thread Eelco Dolstra
Author: eelco Date: Sun Mar 18 18:09:17 2012 New Revision: 33238 URL: https://nixos.org/websvn/nix/?rev=33238sc=1 Log: * More tasks that shouldn't be restarted (though they're harmless). Modified: nixos/trunk/modules/system/upstart-events/runlevel.nix Modified:

[Nix-commits] SVN commit: nix - r33239 - nixpkgs/trunk/pkgs/tools/networking/socat

2012-03-18 Thread Lluís Batlle
Author: viric Date: Sun Mar 18 18:33:10 2012 New Revision: 33239 URL: https://nixos.org/websvn/nix/?rev=33239sc=1 Log: Updating socat. I thought it could have improvements in performance for nixos build-vm in my computer, but does not. Modified:

[Nix-commits] SVN commit: nix - r33240 - in nixos/trunk/modules/system: activation upstart

2012-03-18 Thread Eelco Dolstra
Author: eelco Date: Sun Mar 18 18:53:50 2012 New Revision: 33240 URL: https://nixos.org/websvn/nix/?rev=33240sc=1 Log: * Get rid of some grep hackery on the Upstart jobs. Modified: nixos/trunk/modules/system/activation/switch-to-configuration.sh

[Nix-commits] SVN commit: nix - r33241 - in nixos/trunk/modules/installer: cd-dvd efi-boot-stub

2012-03-18 Thread Shea Levy
Author: shlevy Date: Sun Mar 18 18:55:47 2012 New Revision: 33241 URL: https://nixos.org/websvn/nix/?rev=33241sc=1 Log: You cant modprobe efivars from within the chroot, so modprobe efivars when booting an efi-compatible install CD Modified: nixos/trunk/modules/installer/cd-dvd/iso-image.nix

Re: [Nix-dev] reviewboard

2012-03-18 Thread Corey O'Connor
2012/3/18 Ludovic Courtès l...@gnu.org: Yes, I understand the problem, and I agree it’s important to fix it. Excellent! So long everybody agrees there is a problem then it is only a matter of time before we find a solution. ;-) Now, a web tool is likely to be too tedious for me to use, and I

[Nix-commits] SVN commit: nix - r33242 - nixos/trunk/modules/system/activation

2012-03-18 Thread Eelco Dolstra
Author: eelco Date: Sun Mar 18 19:05:44 2012 New Revision: 33242 URL: https://nixos.org/websvn/nix/?rev=33242sc=1 Log: * Slight speedup. It's amazing how quickly shell scripts become slow: calling basename in a loop somewhere has a noticable impact on performance. We really shouldn't use

Re: [Nix-dev] reviewboard

2012-03-18 Thread Ludovic Courtès
Hi! Corey O'Connor coreyocon...@gmail.com skribis: 2012/3/18 Ludovic Courtès l...@gnu.org: [...] Now, a web tool is likely to be too tedious for me to use, and I expect other hackers may not like having to jump to a browser to get the work done.  :-) xmonad + vimium is my recommendation

[Nix-commits] SVN commit: nix - r33243 - nixpkgs/trunk/pkgs/development/libraries/sword

2012-03-18 Thread Piotr Pietraszkiewicz
Author: piotr Date: Sun Mar 18 22:51:17 2012 New Revision: 33243 URL: https://nixos.org/websvn/nix/?rev=33243sc=1 Log: Made sword build again by tuning the configureFlags: - to ignore warnings about unused variables - not to build the tests (the warnings in tests looked serious at first glance)

[Nix-commits] [NixOS/nix] 2e0322: Clean up when building from a working tree

2012-03-18 Thread Eelco Dolstra
Branch: refs/heads/master Home: https://github.com/NixOS/nix Commit: 2e0322efd14df7a1658201fb443c8e90687dcfda https://github.com/NixOS/nix/commit/2e0322efd14df7a1658201fb443c8e90687dcfda Author: Eelco Dolstra eelco.dols...@logicblox.com Date: 2012-03-18 (Sun, 18 Mar 2012)

[Nix-commits] SVN commit: nix - r33244 - nixpkgs/trunk/pkgs/os-specific/linux/bbswitch

2012-03-18 Thread Mathijs Kwik
Author: mkwik Date: Sun Mar 18 23:13:41 2012 New Revision: 33244 URL: https://nixos.org/websvn/nix/?rev=33244sc=1 Log: bbswitch: use the modDirVersion instead of version Modified: nixpkgs/trunk/pkgs/os-specific/linux/bbswitch/default.nix Modified:

Re: [Nix-dev] uefi booting on nixos

2012-03-18 Thread Mathijs Kwik
Shea Levy s...@shealevy.com writes: On 3/18/12 7:18 AM, Mathijs Kwik wrote: Shea Levys...@shealevy.com writes: Hi Mathijs, It's not totally complete. In particular, the installRemovableMediaImage option installs an EFI program that is a) really hacky and b) depends on protocols not

[Nix-commits] SVN commit: nix - r33245 - nixpkgs/trunk/pkgs/applications/misc/bibletime

2012-03-18 Thread Piotr Pietraszkiewicz
Author: piotr Date: Sun Mar 18 23:52:58 2012 New Revision: 33245 URL: https://nixos.org/websvn/nix/?rev=33245sc=1 Log: bumped bibletime to v2.9.1 which has the side effect that it builds again Modified: nixpkgs/trunk/pkgs/applications/misc/bibletime/default.nix Modified:

[Nix-commits] [NixOS/nix] 4b2390: Fix the optional dependency on OpenSSL

2012-03-18 Thread Eelco Dolstra
Branch: refs/heads/master Home: https://github.com/NixOS/nix Commit: 4b23900ff1568270c9a03ccadc1cbd0b872e4ef7 https://github.com/NixOS/nix/commit/4b23900ff1568270c9a03ccadc1cbd0b872e4ef7 Author: Eelco Dolstra eelco.dols...@logicblox.com Date: 2012-03-18 (Sun, 18 Mar 2012)

[Nix-dev] openFile: resource exhausted -- cabal configure

2012-03-18 Thread Daniel Santa Cruz
Hello list, I have been attempting to install yesod, and friends with Nix. My installation has: Mac OS X 10.7.3 Nix 0.16 GHC wrapper 7.4.1 cabal-install 0.10.2 and the yesod tools for ghc7.4.1 I have tried to initialize a yesod project with yesod init. Once there, I tried to do a cabal

[Nix-commits] SVN commit: nix - r33246 - nixos/trunk/modules/programs/bash

2012-03-18 Thread Eelco Dolstra
Author: eelco Date: Mon Mar 19 02:35:17 2012 New Revision: 33246 URL: https://nixos.org/websvn/nix/?rev=33246sc=1 Log: * Don't source /etc/profile in interactive non-login shells, unless it wasn't sourced in a parent shell (as determined by the environment variable __ETC_PROFILE_DONE). This

[Nix-commits] SVN commit: nix - r33247 - nixpkgs/trunk/pkgs/build-support/release

2012-03-18 Thread Eelco Dolstra
Author: eelco Date: Mon Mar 19 02:45:52 2012 New Revision: 33247 URL: https://nixos.org/websvn/nix/?rev=33247sc=1 Log: * Support setting postPhases. Modified: nixpkgs/trunk/pkgs/build-support/release/nix-build.nix Modified: nixpkgs/trunk/pkgs/build-support/release/nix-build.nix

[Nix-commits] SVN commit: nix - r33248 - in nixos/trunk/modules: config programs/bash

2012-03-18 Thread Eelco Dolstra
Author: eelco Date: Mon Mar 19 02:53:58 2012 New Revision: 33248 URL: https://nixos.org/websvn/nix/?rev=33248sc=1 Log: * Initialise $LOCALE_ARCHIVE earlier in /etc/profile to prevent the warning -bash: warning: setlocale: LC_TIME: cannot change locale (en_GB.UTF8): No such file or

[Nix-commits] [NixOS/nix] 7f3808: Add a command nix-build --run-env to reproduce t...

2012-03-18 Thread Eelco Dolstra
Branch: refs/heads/master Home: https://github.com/NixOS/nix Commit: 7f38087f35e6f74a73bfdb28da8acd8930565d51 https://github.com/NixOS/nix/commit/7f38087f35e6f74a73bfdb28da8acd8930565d51 Author: Eelco Dolstra eelco.dols...@logicblox.com Date: 2012-03-18 (Sun, 18 Mar 2012)

[Nix-commits] SVN commit: nix - r33249 - nixpkgs/trunk/pkgs/build-support/release

2012-03-18 Thread Eelco Dolstra
Author: eelco Date: Mon Mar 19 03:45:36 2012 New Revision: 33249 URL: https://nixos.org/websvn/nix/?rev=33249sc=1 Log: * For nix-build --run-env it's desirable that $stdenv/setup (and by extension postHook) does nothing else than set up the environment. It shouldn't touch $out because there

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

2012-03-18 Thread Eelco Dolstra
Author: eelco Date: Mon Mar 19 03:55:37 2012 New Revision: 33250 URL: https://nixos.org/websvn/nix/?rev=33250sc=1 Log: * Update some Perl packages that had gone missing. Modified: nixpkgs/trunk/pkgs/top-level/perl-packages.nix Modified: nixpkgs/trunk/pkgs/top-level/perl-packages.nix

[Nix-commits] [NixOS/hydra] e1768c: Don't barf if the SQLite DB is missing

2012-03-18 Thread Eelco Dolstra
Branch: refs/heads/master Home: https://github.com/NixOS/hydra Commit: e1768cae86a279d61ae7eda1d84219591ebbda85 https://github.com/NixOS/hydra/commit/e1768cae86a279d61ae7eda1d84219591ebbda85 Author: Eelco Dolstra eelco.dols...@logicblox.com Date: 2012-03-18 (Sun, 18 Mar 2012)

[Nix-commits] SVN commit: nix - r33251 - nixpkgs/branches/glib-2.30-take2/pkgs/tools/security/polkit-gnome

2012-03-18 Thread Yury G. Kudryashov
Author: urkud Date: Mon Mar 19 04:36:35 2012 New Revision: 33251 URL: https://nixos.org/websvn/nix/?rev=33251sc=1 Log: polkit-gnome-0.105 Depends on gtk-3, install .desktop file. Added:

[Nix-commits] SVN commit: nix - r33252 - in nixpkgs/branches/glib-2.30-take2/pkgs: desktops/gnome-2 desktops/gnome-2/desktop/gnome-doc-utils desktops/gnome-2/platform/gtk-doc development/tools/documen

2012-03-18 Thread Yury G. Kudryashov
Author: urkud Date: Mon Mar 19 04:36:41 2012 New Revision: 33252 URL: https://nixos.org/websvn/nix/?rev=33252sc=1 Log: Move gnome-doc-utils and gtk-doc to top-level Add compatibility attrs. Added: nixpkgs/branches/glib-2.30-take2/pkgs/development/tools/documentation/gnome-doc-utils/

[Nix-commits] SVN commit: nix - r33253 - in nixpkgs/branches/glib-2.30-take2/pkgs: desktops/gnome-2 desktops/gnome-2/desktop/libwnck development/libraries/libwnck top-level

2012-03-18 Thread Yury G. Kudryashov
Author: urkud Date: Mon Mar 19 04:36:47 2012 New Revision: 33253 URL: https://nixos.org/websvn/nix/?rev=33253sc=1 Log: Move libwnck to top-level Added: nixpkgs/branches/glib-2.30-take2/pkgs/development/libraries/libwnck/

[Nix-commits] SVN commit: nix - r33254 - in nixpkgs/branches/glib-2.30-take2/pkgs: development/libraries/libwnck top-level

2012-03-18 Thread Yury G. Kudryashov
Author: urkud Date: Mon Mar 19 04:36:51 2012 New Revision: 33254 URL: https://nixos.org/websvn/nix/?rev=33254sc=1 Log: Add libwnck3 Added: nixpkgs/branches/glib-2.30-take2/pkgs/development/libraries/libwnck/3.x.nix Modified: nixpkgs/branches/glib-2.30-take2/pkgs/top-level/all-packages.nix

Re: [Nix-dev] openFile: resource exhausted -- cabal configure

2012-03-18 Thread Marc Weber
Excerpts from Daniel Santa Cruz's message of Mon Mar 19 01:55:32 +0100 2012: I'm at a loss as to where to start looking for the issue. Any hints on where to start? I'm not sure whether this is a nix issue, or a haskell issue, or even a haskell issue because my usage of nix. run lsof. It'll tell