[Nix-dev] setuid wrappers (fuse/sshfs)

2012-01-03 Thread Mathijs Kwik
Hi all, I like to put every package I use in configuration.nix in environment.systemPackages. User-specific packages are all in ~/.nixpkgs/config.nix So basically. I don't use nix-env --install for separate packages, hence the default profile is empty. However, I wanted to use sshfs-fuse. Fuse

[Nix-commits] SVN commit: nix - r31222 - nix/trunk/corepkgs

2012-01-03 Thread Eelco Dolstra
Author: eelco Date: Tue Jan 3 09:19:40 2012 New Revision: 31222 URL: https://nixos.org/websvn/nix/?rev=31222sc=1 Log: * Forgot to add. Added: nix/trunk/corepkgs/config.nix.in Modified: nix/trunk/corepkgs/ (props changed) Added: nix/trunk/corepkgs/config.nix.in

[Nix-commits] SVN commit: nix - r31223 - in nixpkgs/trunk/pkgs: development/libraries/fltk top-level

2012-01-03 Thread Yury G. Kudryashov
Author: urkud Date: Tue Jan 3 10:02:33 2012 New Revision: 31223 URL: https://nixos.org/websvn/nix/?rev=31223sc=1 Log: fltk-1.3.0 Added: nixpkgs/trunk/pkgs/development/libraries/fltk/fltk13.nix - copied, changed from r31216, nixpkgs/trunk/pkgs/development/libraries/fltk/fltk11.nix

[Nix-commits] SVN commit: nix - r31224 - in nixpkgs/trunk/pkgs: applications/audio/rakarrack applications/audio/yoshimi applications/audio/zynaddsubfx applications/graphics/cinepaint top-level

2012-01-03 Thread Yury G. Kudryashov
Author: urkud Date: Tue Jan 3 10:32:56 2012 New Revision: 31224 URL: https://nixos.org/websvn/nix/?rev=31224sc=1 Log: Fix most packages depending on fltk I failed to build cinepaint Added: nixpkgs/trunk/pkgs/applications/audio/rakarrack/fltk-path.patch Modified:

Re: [Nix-dev] setuid wrappers (fuse/sshfs)

2012-01-03 Thread Eelco Dolstra
Hi, On 03/01/12 09:45, Mathijs Kwik wrote: I like to put every package I use in configuration.nix in environment.systemPackages. User-specific packages are all in ~/.nixpkgs/config.nix So basically. I don't use nix-env --install for separate packages, hence the default profile is empty.

[Nix-commits] SVN commit: nix - r31225 - in nixpkgs/branches/libpng15: . pkgs/applications/audio/rakarrack pkgs/applications/audio/yoshimi pkgs/applications/audio/zynaddsubfx pkgs/applications/graphic

2012-01-03 Thread Yury G. Kudryashov
Author: urkud Date: Tue Jan 3 11:39:50 2012 New Revision: 31225 URL: https://nixos.org/websvn/nix/?rev=31225sc=1 Log: Merge trunk Added: nixpkgs/branches/libpng15/pkgs/applications/audio/rakarrack/fltk-path.patch - copied unchanged from r31224,

[Nix-commits] SVN commit: nix - r31226 - nix/trunk/tests

2012-01-03 Thread Eelco Dolstra
Author: eelco Date: Tue Jan 3 12:18:41 2012 New Revision: 31226 URL: https://nixos.org/websvn/nix/?rev=31226sc=1 Log: * FreeBSD tar defaults to the tape device instead of stdout. Modified: nix/trunk/tests/nix-channel.sh Modified: nix/trunk/tests/nix-channel.sh

[Nix-commits] SVN commit: nix - r31229 - in nixpkgs/trunk/pkgs: tools/networking/networkmanagement top-level

2012-01-03 Thread Yury G. Kudryashov
Author: urkud Date: Tue Jan 3 13:39:09 2012 New Revision: 31229 URL: https://nixos.org/websvn/nix/?rev=31229sc=1 Log: Add kde4.networkmanagement You still need to start NetworkManager daemon manually to use this widget Added: nixpkgs/trunk/pkgs/tools/networking/networkmanagement/

[Nix-commits] SVN commit: nix - r31230 - in nix/branches/multiple-outputs-sandbox: corepkgs src/libexpr

2012-01-03 Thread Eelco Dolstra
Author: eelco Date: Tue Jan 3 14:01:47 2012 New Revision: 31230 URL: https://nixos.org/websvn/nix/?rev=31230sc=1 Log: * Move the implementation of the ‘derivation’ primop into a separate file. Added: nix/branches/multiple-outputs-sandbox/corepkgs/derivation.nix Modified:

[Nix-commits] SVN commit: nix - r31232 - in nixpkgs/trunk/pkgs: os-specific/linux/firmware/iwlwifi-5150-ucode top-level

2012-01-03 Thread Florian Friesdorf
Author: chaoflow Date: Tue Jan 3 14:14:58 2012 New Revision: 31232 URL: https://nixos.org/websvn/nix/?rev=31232sc=1 Log: iwlwifi-5150-ucode: add Intel 5150 wireless firmware package Author:Sergey Mironov ier...@gmail.com Added:

Re: [Nix-dev] wicd managing wireless network

2012-01-03 Thread Florian Friesdorf
On Tue, 3 Jan 2012 13:18:27 +0400, Sergey Mironov ier...@gmail.com wrote: 2012/1/2 Lluís Batlle i Rossell vi...@viric.name Yes, one should disable wpa_supplicant (networking.enableWLAN if I rememver correctly) also - wicd runs it by itself when needed. On the other hand wpa_supplicant itself

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r31215 - nixpkgs/trunk/pkgs/development/libraries/openssl

2012-01-03 Thread Eelco Dolstra
Hi, On 02/01/12 19:18, Lluís Batlle wrote: Updating openssl. Since we already have an expression for 1.0.0e which contains several other improvements (pkgs/development/libraries/openssl/1.0.0e.nix), it would have been better to replace default.nix with that one. -- Eelco Dolstra |

[Nix-commits] SVN commit: nix - r31233 - nixpkgs/trunk/pkgs/development/libraries/openssl

2012-01-03 Thread Lluís Batlle
Author: viric Date: Tue Jan 3 14:31:11 2012 New Revision: 31233 URL: https://nixos.org/websvn/nix/?rev=31233sc=1 Log: Moving openssl 1.0.0e.nix to default.nix, as Eelco suggests. The 1.0.0e expression was moremaintained. When I updated openssl, I didn't know there was such a file. Replaced:

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

2012-01-03 Thread Lluís Batlle
Author: viric Date: Tue Jan 3 14:32:41 2012 New Revision: 31234 URL: https://nixos.org/websvn/nix/?rev=31234sc=1 Log: Removing references to openssl 1.0.0e Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix

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

2012-01-03 Thread Florian Friesdorf
Author: chaoflow Date: Tue Jan 3 14:36:05 2012 New Revision: 31235 URL: https://nixos.org/websvn/nix/?rev=31235sc=1 Log: add ~/bin to PATH if it exists Modified: nixos/trunk/modules/programs/bash/profile.sh Modified: nixos/trunk/modules/programs/bash/profile.sh

Re: [Nix-dev] Disaster recovery / re-deployment

2012-01-03 Thread Florian Friesdorf
Hi Rickard, On Tue, 04 Oct 2011 11:45:14 +0200, Rickard Nilsson rickard.nils...@telia.com wrote: However in your case http://mawercer.de/~marc/minimal-install-archive.patch should be enough if you're lucky. Thanks! I will start out from that and see where I end up. did you made

Re: [Nix-dev] ~/bin in PATH if exists

2012-01-03 Thread Sander van der Burg - EWI
Why is this personal bin directory needed? I don't see the point actually. I mean users in NixOS have their own private Nix profile to install their binaries in, right? From: nix-dev-boun...@lists.science.uu.nl [nix-dev-boun...@lists.science.uu.nl] on

[Nix-commits] SVN commit: nix - r31238 - nixpkgs/trunk/pkgs/development/libraries/ortp

2012-01-03 Thread Yury G. Kudryashov
Author: urkud Date: Tue Jan 3 15:39:05 2012 New Revision: 31238 URL: https://nixos.org/websvn/nix/?rev=31238sc=1 Log: ortp-0.18.0 Modified: nixpkgs/trunk/pkgs/development/libraries/ortp/default.nix Modified: nixpkgs/trunk/pkgs/development/libraries/ortp/default.nix

Re: [Nix-dev] ~/bin in PATH if exists

2012-01-03 Thread Lluís Batlle i Rossell
On Tue, Jan 03, 2012 at 03:32:11PM +, Sander van der Burg wrote: Why is this personal bin directory needed? I don't see the point actually. I mean users in NixOS have their own private Nix profile to install their binaries in, right? I have there scripts based on #!/bin/sh. And also

[Nix-dev] stdenv-updates (was: [Nix-commits] SVN commit: nix - r31215 - nixpkgs/trunk/pkgs/development/libraries/openssl)

2012-01-03 Thread Peter Simons
Hi guys, Updating openssl. Since we already have an expression for 1.0.0e which contains several other improvements (pkgs/development/libraries/openssl/1.0.0e.nix), it would have been better to replace default.nix with that one. what is the state of stdenv-updates anyway? Take care,

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r31230 - in nix/branches/multiple-outputs-sandbox: corepkgs src/libexpr

2012-01-03 Thread Shea Levy
Hi Eelco On 1/3/12 9:01 AM, Eelco Dolstra wrote: Author: eelco Date: Tue Jan 3 14:01:47 2012 New Revision: 31230 URL: https://nixos.org/websvn/nix/?rev=31230sc=1 Log: * Move the implementation of the ‘derivation’ primop into a separate file. Snip +mkThunk_(v,

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r31230 - in nix/branches/multiple-outputs-sandbox: corepkgs src/libexpr

2012-01-03 Thread Eelco Dolstra
On 03/01/12 17:06, Shea Levy wrote: * Move the implementation of the ‘derivation’ primop into a separate file. Snip +mkThunk_(v, parseExprFromFile(findFile(nix/derivation.nix))); addConstant(derivation, v); I'm no expert on performance issues, but couldn't adding an

Re: [Nix-dev] ~/bin in PATH if exists

2012-01-03 Thread Sander van der Burg - EWI
You can also write Nix expressions for these scripts and install them into your personal Nix profile? I have to admit that this is a little bit of extra work, but it is also not that difficult either. From: Lluís Batlle i Rossell [vi...@viric.name] Sent:

Re: [Nix-dev] ~/bin in PATH if exists

2012-01-03 Thread Lluís Batlle i Rossell
On Tue, Jan 03, 2012 at 04:32:29PM +, Sander van der Burg wrote: You can also write Nix expressions for these scripts and install them into your personal Nix profile? I have to admit that this is a little bit of extra work, but it is also not that difficult either. I could. But I don't

Re: [Nix-dev] ./configure make make install

2012-01-03 Thread Lluís Batlle i Rossell
On Tue, Jan 03, 2012 at 08:39:37PM +0400, Sergey Mironov wrote: Hi. Another beginner question. I have realized that good old unpack-the-tarball ./configure make make install doesn't work in nixos because of missing /usr/include and /usr/lib. But how to organize the process of software

Re: [Nix-dev] ./configure make make install

2012-01-03 Thread Peter Simons
Hi Sergey, unpack-the-tarball ./configure make make install doesn't work in nixos because of missing /usr/include and /usr/lib. a fairly simple solution is to create a Nix profile that contains all the standard libraries (glibc, openssl, coreutils, etc.) and to configure environment

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

2012-01-03 Thread Florian Friesdorf
Author: chaoflow Date: Tue Jan 3 17:11:19 2012 New Revision: 31242 URL: https://nixos.org/websvn/nix/?rev=31242sc=1 Log: export NIX_PROFILES and NIX_USER_PROFILE_DIR Modified: nixos/trunk/modules/programs/bash/profile.sh Modified: nixos/trunk/modules/programs/bash/profile.sh

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

2012-01-03 Thread Florian Friesdorf
Author: chaoflow Date: Tue Jan 3 17:11:21 2012 New Revision: 31243 URL: https://nixos.org/websvn/nix/?rev=31243sc=1 Log: Revert add ~/bin to PATH if it exists This reverts commit 73bda7c4575b5664d54340db95fec2fa759b6f28. Modified: nixos/trunk/modules/programs/bash/profile.sh Modified:

[Nix-commits] Hydra job nixpkgs:trunk:tarball build 1716819: Success

2012-01-03 Thread Hydra Build Daemon
Hi, This is to let you know that Hydra build 1716819 of job nixpkgs:trunk:tarball has changed from 'Dependency failed' to 'Success'. Complete build information can be found on this page: http://hydra.nixos.org/build/1716819 A summary of the build information follows: Build ID: |

[Nix-commits] SVN commit: nix - r31248 - nixpkgs/trunk/pkgs/development/tools/build-managers/cmake

2012-01-03 Thread Yury G. Kudryashov
Author: urkud Date: Tue Jan 3 18:00:02 2012 New Revision: 31248 URL: https://nixos.org/websvn/nix/?rev=31248sc=1 Log: Add a warning to cmake/default.nix Modified: nixpkgs/trunk/pkgs/development/tools/build-managers/cmake/default.nix Modified:

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

2012-01-03 Thread Yury G. Kudryashov
Author: urkud Date: Tue Jan 3 18:13:10 2012 New Revision: 31250 URL: https://nixos.org/websvn/nix/?rev=31250sc=1 Log: svn merge /path/to/nixpkgstrunk; resolve ghostscript as theirs-full Added: nixpkgs/branches/libpng15/pkgs/development/libraries/libkvkontakte/ - copied from r31249,

[Nix-dev] Package: vimprobable

2012-01-03 Thread Alexander Foremny
Hello! I just started using NixOS and seeing that vimprobable [1] is missing in the repositories I created a package for that. Attached is a Nix expression for the most recent stable version of vimprobable2. Since I am using NixOS for a very short time I'd appreciate any feedback that can

Re: [Nix-dev] Package: vimprobable

2012-01-03 Thread Marc Weber
feedback: looks fine to me. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-commits] SVN commit: nix - r31251 - in nixpkgs/trunk/pkgs: applications/misc/taskwarrior development/interpreters/lua-5

2012-01-03 Thread Lluís Batlle
Author: viric Date: Tue Jan 3 19:12:06 2012 New Revision: 31251 URL: https://nixos.org/websvn/nix/?rev=31251sc=1 Log: Made lua and task warrior unstable crossbuild fine Modified: nixpkgs/trunk/pkgs/applications/misc/taskwarrior/unstable.nix

[Nix-dev] Latest nix, web links

2012-01-03 Thread Lluís Batlle i Rossell
Hello, going to http://nixos.org/nix/download.html and The latest development release of Nix goes to a page without results: http://hydra.nixos.org/view/nix/trunk/latest Error I'm very sorry, but the following error(s) occurred: This view set has no successful results yet. I wanted a

[Nix-commits] SVN commit: nix - r31252 - nixpkgs/trunk/pkgs/applications/editors/emacs-23

2012-01-03 Thread Florian Friesdorf
Author: chaoflow Date: Tue Jan 3 20:58:54 2012 New Revision: 31252 URL: https://nixos.org/websvn/nix/?rev=31252sc=1 Log: set emacs load-path according to NIX_PROFILES via site-start.el Modified: nixpkgs/trunk/pkgs/applications/editors/emacs-23/default.nix Modified:

[Nix-commits] SVN commit: nix - r31255 - in nixpkgs/trunk/pkgs: applications/misc/librecad top-level

2012-01-03 Thread Lluís Batlle
Author: viric Date: Tue Jan 3 21:14:14 2012 New Revision: 31255 URL: https://nixos.org/websvn/nix/?rev=31255sc=1 Log: Adding a preliminary package for librecad. It fails to install still. Added: nixpkgs/trunk/pkgs/applications/misc/librecad/

Re: [Nix-dev] emacs load-path (was: Re: notmuch fails to configure)

2012-01-03 Thread Florian Friesdorf
On Sun, 13 Feb 2011 10:29:50 +0100, Ambrus Kaposi kaposi.amb...@gmail.com wrote: Proposed solution: patch of compile time load path (epaths.h) for all emacsen included in nixos. If consensus, I'd create and include the necessary patches. Another solution would be to create a wrapper

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

2012-01-03 Thread Eelco Dolstra
Author: eelco Date: Tue Jan 3 22:33:48 2012 New Revision: 31259 URL: https://nixos.org/websvn/nix/?rev=31259sc=1 Log: * Debian requires/provides should be comma-separated. Modified: nixpkgs/trunk/pkgs/build-support/release/debian-build.nix Modified:

Re: [Nix-dev] Latest nix, web links

2012-01-03 Thread Eelco Dolstra
Hi, On 03/01/12 21:40, Lluís Batlle i Rossell wrote: I wanted a '.deb' file for ubuntu, and recent builds don't have any deb file: http://hydra.nixos.org/build/1710434/contents/1 http://hydra.nixos.org/build/1710422/contents/1 Thanks, fixed. -- Eelco Dolstra |

Re: [Nix-dev] setuid wrappers (fuse/sshfs)

2012-01-03 Thread Mathijs Kwik
ok, works now. had to explicitly mention fuse itself too (not just sshfsFuse) I noticed setuid-wrappers.nix contained cdrdao, wodim and growisofs, all cd/dvd burning tools. Is there a reason for this? on Arch they aren't. it seems udev + consolekit take care of setting an RW acl on /dev/sr0 for

Re: [Nix-dev] linux capabilities (was: setuid wrappers (fuse/sshfs))

2012-01-03 Thread Mathijs Kwik
that makes sense. as of linux 2.6.26 however, setcap cap_sys_nice=+ep can be used for that instead most/all reasons why you would want to run as root can be handled through capabilities. Are there any nixos modules to set these? Also, the boundary between nixos and nixpkgs is not fully clear to

[Nix-commits] SVN commit: nix - r31260 - nixpkgs/trunk/pkgs/misc/ghostscript

2012-01-03 Thread Karn Kallio
Author: kkallio Date: Wed Jan 4 00:26:48 2012 New Revision: 31260 URL: https://nixos.org/websvn/nix/?rev=31260sc=1 Log: Cause ghostscript to build libgs. This fixes the failed build of libspectre. Modified: nixpkgs/trunk/pkgs/misc/ghostscript/default.nix Modified:

[Nix-commits] SVN commit: nix - r31261 - in nixpkgs/trunk/pkgs/applications/editors: emacs-22 emacs-23 emacs-snapshot

2012-01-03 Thread Karn Kallio
Author: kkallio Date: Wed Jan 4 05:48:38 2012 New Revision: 31261 URL: https://nixos.org/websvn/nix/?rev=31261sc=1 Log: In Emacs site-start.el check that NIX_PROFILES is set. In the stdenv this is not set, which causes an elisp error which in turn makes builds depending on Emacs (eg gnuplot)