[Nix-dev] preventing a list from merging

2011-12-04 Thread Mathijs Kwik
Hi all, I have a laptop that has 2 graphics cards, low-power intel card for normal use, and nvidia for gaming/heavy 3d stuff. Unfortunately, the switching between the 2 isn't flawless under linux yet (bumblebee project), so I have to choose which one to use. In my case, the intel card is perfect.

Re: [Nix-dev] preventing a list from merging

2011-12-04 Thread Mathijs Kwik
On Sun, Dec 4, 2011 at 12:04 PM, Marc Weber marco-owe...@gmx.de wrote: Excerpts from Mathijs Kwik's message of Sun Dec 04 11:46:19 +0100 2011: I temporarily just copied hardware-configuration.nix to hardware-static.nix and changed the require line in configuration.nix. Then I edited

[Nix-dev] default options not working

2011-12-04 Thread Mathijs Kwik
Hi all, In my ~/.nixpkgs/config.nix I put: { packageOverrides = pkgs: rec { mypkgs = pkgs.buildEnv { name = mypkgs; paths = [ samba ]; }; samba = pkgs.callPackage

Re: [Nix-dev] default options not working

2011-12-04 Thread Mathijs Kwik
ah, I hate magic :) should have thought of that. Thanks 2011/12/4 Lluís Batlle i Rossell vi...@viric.name: On Sun, Dec 04, 2011 at 03:22:06PM +0100, Mathijs Kwik wrote: installing with nix-env -iA nixpkgs_sys.mypkgs worked fine. Problem is: it should fail! The samba package requires

Re: [Nix-dev] remove manifest on nixos

2011-12-05 Thread Mathijs Kwik
Hi Lluís, Thanks again. It's building 2011/12/5 Lluís Batlle i Rossell vi...@viric.name: On Mon, Dec 05, 2011 at 09:49:26PM +0100, Mathijs Kwik wrote: I noticed the package okular can't open pdf files. I found that the binary isn't linked to poppler/poppler-qt (the .nix expression looks ok

Re: [Nix-dev] referring to a patch that's packed inside the source tarball

2011-12-11 Thread Mathijs Kwik
to answer my own question: patches = [ ./some.patch ] refers to some.patch in the nixpkg tree patches = [ ./some.patch ] refers to some.patch in the build dir I just mistyped the patch name, that's why it didn't work before :) On Sun, Dec 11, 2011 at 7:48 PM, Mathijs Kwik math...@bluescreen303

Re: [Nix-dev] contributing to nixpkgs/nixos

2011-12-11 Thread Mathijs Kwik
On Sun, Dec 11, 2011 at 8:49 PM, Peter Simons sim...@cryp.to wrote: Hi Mathijs, I committed your patches -- the only exception being the update to btrfs-progs. I didn't feel comfortable making that change, because it's based on a development version from the upstream Git repository (rather

Re: [Nix-dev] btrfs-progs (was: contributing to nixpkgs/nixos)

2011-12-12 Thread Mathijs Kwik
On Mon, Dec 12, 2011 at 7:39 PM, Michael Raskin 7c6f4...@mail.ru wrote: 87bore6g84@write-only.cryp.to cakvohkanvg4jypttk5+yy9twfkwv1vgz6ieaqsp4u+t8zpe...@mail.gmail.com) Mime-Version: 1.0 Content-type: text/plain; charset=UTF-8 That tarball (from the current package) is no longer there

Re: [Nix-dev] btrfs-progs (was: contributing to nixpkgs/nixos)

2011-12-12 Thread Mathijs Kwik
On Mon, Dec 12, 2011 at 10:29 PM, Michael Raskin 7c6f4...@mail.ru wrote: 87fwgplnk6.fsf...@write-only.cryp.to e1raafx-0006wk-00.7c6f434c-mail...@smtp12.mail.ru) Mime-Version: 1.0 Content-type: text/plain; charset=UTF-8 The maintainer of btrfs-progs seems to be Michael Raskin. Michael, do you

Re: [Nix-dev] cryptsetup update breaks nixos-rebuild (was: nixos-rebuild switch fails)

2011-12-14 Thread Mathijs Kwik
This is probably my commit that was added? https://github.com/bluescreen303/nixpkgs/commit/7a6d604806a693a5730cbcd33f1e983dee24c1d3 The reason I removed the patchPhase was because cryptsetup 1.0.7 removed the udev settle stuff completely. See http://code.google.com/p/cryptsetup/wiki/Cryptsetup107

Re: [Nix-dev] cryptsetup update breaks nixos-rebuild (was: nixos-rebuild switch fails)

2011-12-14 Thread Mathijs Kwik
also, libdevmapper is now default (mandatory even?) so I removed that configure flag as well On Wed, Dec 14, 2011 at 6:07 PM, Mathijs Kwik math...@bluescreen303.nl wrote: This is probably my commit that was added? https://github.com/bluescreen303/nixpkgs/commit

[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

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

2012-01-03 Thread Mathijs Kwik
for the user that's logged in/active on the console. Furthermore, group cdrom has write access to that device. Is this just a historical leftover? Thanks, Mathijs On Tue, Jan 3, 2012 at 11:41 AM, Eelco Dolstra e.dols...@tudelft.nl wrote: Hi, On 03/01/12 09:45, Mathijs Kwik wrote: I like to put

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

2012-01-03 Thread Mathijs Kwik
to effectuate them. what do you (and others) think of this? And about using capabilities in general? Thanks Mathijs On Tue, Jan 3, 2012 at 11:54 PM, Eelco Dolstra e.dols...@tudelft.nl wrote: Hi, On 03/01/12 23:53, Mathijs Kwik wrote: I noticed setuid-wrappers.nix contained cdrdao, wodim

[Nix-dev] texlive-core and texlive-extra

2012-01-12 Thread Mathijs Kwik
Hi all, I don't know a lot about tex/latex/texlive, but I'm trying to learn a bit. I need something called wrapfig.sty (emacs org-mode uses it). After some searching, I found it's part of texLiveExtra. However, when trying to install that, everything builds fine, but fails at the last step

Re: [Nix-dev] texlive-core and texlive-extra

2012-01-12 Thread Mathijs Kwik
that sounds like it would do the trick I'll see how to use that Thanks 2012/1/12 Lluís Batlle i Rossell vi...@viric.name: On Thu, Jan 12, 2012 at 11:09:13PM +0100, Mathijs Kwik wrote: Hi all, I don't know a lot about tex/latex/texlive, but I'm trying to learn a bit. I need something called

Re: [Nix-dev] texlive-core and texlive-extra

2012-01-12 Thread Mathijs Kwik
/nixos/nixpkgs/pkgs/build-support/buildenv/default.nix:29:12': cannot coerce a function to a string What am I doing wrong? On Thu, Jan 12, 2012 at 11:26 PM, Mathijs Kwik math...@bluescreen303.nl wrote: that sounds like it would do the trick I'll see how to use that Thanks 2012/1/12 Lluís

[Nix-dev] synaptic driver broken + fix

2012-01-14 Thread Mathijs Kwik
Hi Arie, Commit https://nixos.org/repos/nix/nixos/trunk@31523 contained a small mistake, leading to a crash while building: value is a string while a Boolean was expected I attached the fix, can you commit it? Thanks, Mathijs diff --git a/modules/services/x11/hardware/synaptics.nix

[Nix-dev] freenet6, password, seccureKeys

2012-01-14 Thread Mathijs Kwik
Hi all, I'm confused by the gw6c service. I have a freenet6 account with a username and a password (no public/private key stuff). As I don't want to store the password in nix configuration, I was hoping to use builtins.readFile /some/secure/place as the password option. However, it seems gw6c is

Re: [Nix-dev] [nix-dev] broken manifest

2012-01-15 Thread Mathijs Kwik
It appears however, that the manifest on the server is broken. See http://nixos.org/releases/nixpkgs/channels/nixpkgs-unstable/ On Sun, Jan 15, 2012 at 12:22 PM, Arie Middelkoop amidd...@gmail.com wrote: Delete:  /nix/store/ps8c0vgpwz4zdgr0jznxak6cp53f95lm-MANIFEST.bz2 then run: nix-store

[Nix-dev] openvpn autostart

2012-01-15 Thread Mathijs Kwik
Hi all, I setup openvpn through configuration.nix, which works great. However, I don't want my vpn to start automatically by default. Since an upstart-job was created automatically, I figured I need to override the job's startOn value. So I tried: jobs.openvpn-home.startOn = pkgs.lib.mkOverride

Re: [Nix-dev] Experiences with Nvidia Optimus?

2012-01-16 Thread Mathijs Kwik
On Sat, Jan 14, 2012 at 11:01 AM, Arie Middelkoop amidd...@gmail.com wrote: Hi, Hi Arie, Does any of you have experience with getting hardware acceleration for nvidia optimus laptop videocards (e.g. GT555M) to work? My fresh new laptop with Nixos is getting into a workable state, but this

[Nix-dev] mongodb, ghc-mod, youtube-dl and a bunch of upgrades

2012-01-17 Thread Mathijs Kwik
Hi all, I created a few new packages and upgrades existing ones. Can someone with commit access please review my commits and apply them to svn? [1] nixpkg additions/changes [2] nixos module for mongodb [3] nixpkg changes (on top of 1) that might need some discussion [1]

Re: [Nix-dev] fonts: subpixel rendering

2012-01-17 Thread Mathijs Kwik
On Tue, Jan 17, 2012 at 10:36 PM, Eelco Dolstra e.dols...@tudelft.nl wrote: Hi, On 01/17/2012 10:14 PM, Sergey Mironov wrote: So.. may I kindly ask to enable this option in nix and disable hinting in the global fonts.conf by default? We can't really do that because subpixel rendering is

Re: [Nix-dev] mongodb, ghc-mod, youtube-dl and a bunch of upgrades

2012-01-18 Thread Mathijs Kwik
Thanks Peter! On Wed, Jan 18, 2012 at 9:39 PM, Peter Simons sim...@cryp.to wrote: Hi Mathijs, I've committed your patches a moment ago. Thanks! Take care, Peter ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] More news about the nix-env crash (was: SVN commit: nix - r31619 - nixpkgs/trunk/pkgs/tools/package-management/nix)

2012-01-19 Thread Mathijs Kwik
I'm getting segfaults too nix-env[20476]: segfault at 7fff36a64ff8 ip 7ff54a86f7a1 sp 7fff36a65000 error 6 in libexpr.so.0.0.0[7ff54a853000+64000] nix 31616 on x86_64 config.nix: https://gist.github.com/1642727 On Thu, Jan 19, 2012 at 9:23 PM, Peter Simons sim...@cryp.to wrote: Hi

Re: [Nix-dev] defaultLocale

2012-01-20 Thread Mathijs Kwik
Ah, that was where it happened indeed. Now it's gone. Thanks :) On Fri, Jan 20, 2012 at 2:39 PM, Florian Friesdorf f...@chaoflow.net wrote: On Fri, 20 Jan 2012 13:30:44 +0100, Mathijs Kwik math...@bluescreen303.nl wrote: I do however get strange warnings (not errors) sometimes that certain

Re: [Nix-dev] Experiences with Nvidia Optimus?

2012-01-20 Thread Mathijs Kwik
On Fri, Jan 20, 2012 at 12:39 AM, Arie Middelkoop amidd...@gmail.com wrote: On 19-01-12 22:57, Mathijs Kwik wrote: On Thu, Jan 19, 2012 at 9:52 PM, Arie Middelkoopamidd...@gmail.com  wrote: Hi Mathijs, Thanks for your reply. It resolved my confusion somewhat :) Although it is likely

Re: [Nix-dev] Dropping --with-gallium-drivers=i965 from mesa (was: Experiences with Nvidia Optimus?)

2012-01-20 Thread Mathijs Kwik
On Fri, Jan 20, 2012 at 7:17 PM, Peter Simons sim...@cryp.to wrote: Hi guys,   In a recent mesa upgrade, someone enabled the experimental gallium3d   driver for our i965-based cards. [...] Intel's open-source driver has   full support for 3d already, and intel stated they are not  

Re: [Nix-dev] Dropping --with-gallium-drivers=i965 from mesa (was: Experiences with Nvidia Optimus?)

2012-01-21 Thread Mathijs Kwik
On Sat, Jan 21, 2012 at 5:05 AM, Yury G. Kudryashov urkud.ur...@gmail.com wrote: Mathijs Kwik wrote: On Fri, Jan 20, 2012 at 7:17 PM, Peter Simons sim...@cryp.to wrote: Hi guys, In a recent mesa upgrade, someone enabled the experimental gallium3d driver for our i965-based cards

Re: [Nix-dev] Dropping --with-gallium-drivers=i965 from mesa

2012-01-21 Thread Mathijs Kwik
On Sat, Jan 21, 2012 at 12:48 PM, Arie Middelkoop amidd...@gmail.com wrote: Hi Mathijs, But as already stated, I don't mind stuff breaking. I do mind slow procedures for changes :) Nice that you fixed it :) So, if I understand it correctly, the intel driver/mesa/etc combination in

Re: [Nix-dev] Dropping --with-gallium-drivers=i965 from mesa

2012-01-21 Thread Mathijs Kwik
cool, thanks! On Sat, Jan 21, 2012 at 9:38 PM, Peter Simons sim...@cryp.to wrote: Hi guys, I've committed the Mesa fix and driproto update. The new versions work fine here (with ATI, NVidia and Intel cards). Re-builds should be available from Hydra in a couple of hours. Take care, Peter

[Nix-dev] local, custom environments for development projects

2012-01-22 Thread Mathijs Kwik
Hi all, I'm doing some development work on different projects that all have their own dependencies. Currently (leftover from before nix), they are just directories in my homedir. There are some haskell projects, some ruby, few node.js. All these projects have their own dependencies, usually

Re: [Nix-dev] local, custom environments for development projects

2012-01-22 Thread Mathijs Kwik
Ah, very nice. I didn't know about my-env. This will work, thanks 2012/1/22 Lluís Batlle i Rossell vi...@viric.name: On Sun, Jan 22, 2012 at 12:46:23PM +0100, Mathijs Kwik wrote: Hi all, I'm doing some development work on different projects that all have their own dependencies. Currently

[Nix-dev] ghc-mod

2012-01-24 Thread Mathijs Kwik
Hi all, ghc-mod got upgraded today, but it seems the emacs part was taken out. Was this intentional? If ghc-mod is any use apart from emacs, splitting it to a haskell part and an emacs part would make sense. However, I'm not aware of this. Can someone please add back the emacs part? Thanks,

Re: [Nix-dev] ghc-mod

2012-01-25 Thread Mathijs Kwik
no problem :) We can also just split ghc-mod into a haskell/cabal part and a separate emacs part. The haskell part can then be handled by cabal2nix. However, we need to be able to force the 2 to have the same version. On Tue, Jan 24, 2012 at 11:07 PM, Peter Simons sim...@cryp.to wrote: Hi

[Nix-dev] problem with binary-only game

2012-01-28 Thread Mathijs Kwik
Hi all, Today, I bought a fun physics platform game And Yet It Moves[1], which has a linux version available. It is closed source, commercially licensed. They distribute a .deb, .rpm and a .tar.gz for both x86 and x86_64. The tar.gz 64bit version ran fine on arch linux. However, on nixos, I ran

Re: [Nix-dev] problem with binary-only game

2012-01-29 Thread Mathijs Kwik
Thanks, it works now. I indeed had to use patchelf to set the dynamic linker, and put every .so it needed in rpath. 2012/1/28 Lluís Batlle i Rossell vi...@viric.name: On Sat, Jan 28, 2012 at 10:46:15PM +0100, Mathijs Kwik wrote: $ ./AndYetItMoves ./AndYetItMoves: line 21: ./lib/AndYetItMoves

[Nix-dev] cleaning /tmp

2012-01-29 Thread Mathijs Kwik
Hi all, After a reboot, I found that my /tmp is taking up 8Gb of space. I don't want to use a tmpfs for it, as I occasionally use audio/video tools that write to /tmp, with sizes above my system memory. Looking at FHS's recommendations, I would say there are 2 moments to clean /tmp. - At boot

Re: [Nix-dev] Experiences with Nvidia Optimus?

2012-02-05 Thread Mathijs Kwik
On Sun, Feb 5, 2012 at 2:11 AM, Arie Middelkoop amidd...@gmail.com wrote: On 16-01-12 13:35, Mathijs Kwik wrote: On Sat, Jan 14, 2012 at 11:01 AM, Arie Middelkoopamidd...@gmail.com  wrote: Does any of you have experience with getting hardware acceleration for nvidia optimus laptop

Re: [Nix-dev] Experiences with Nvidia Optimus?

2012-02-05 Thread Mathijs Kwik
On Sun, Feb 5, 2012 at 11:26 AM, Arie Middelkoop amidd...@gmail.com wrote: On 05-02-12 09:16, Mathijs Kwik wrote: On Sun, Feb 5, 2012 at 2:11 AM, Arie Middelkoopamidd...@gmail.com  wrote: The main advantage of the package actually arises when you don't use the card: it uses ACPI

Re: [Nix-dev] Experiences with Nvidia Optimus?

2012-02-06 Thread Mathijs Kwik
On Sun, Feb 5, 2012 at 11:23 PM, Arie Middelkoop amidd...@gmail.com wrote: On 05-02-12 11:48, Mathijs Kwik wrote: I haven't seen (or needed) microcode related stuff since then, but I got curious after your commit. A quick look at archlinux gives: http://projects.archlinux.org/svntogit

Re: [Nix-dev] upgrades and new packages

2012-02-08 Thread Mathijs Kwik
Hi Peter, Thanks for submitting those. I made some changes to the binary-only game. It now supports the free demo version (as Arie Middelkoop suggested), and I used requireFile for supplying the acquired binaries in case you want to use the commercial version (as Yury G. Kudryashov suggested). I

[Nix-dev] multiple full system profiles

2012-02-08 Thread Mathijs Kwik
Hi all, In my home dir I'm successfully using myEnvFun for different projects, using loadenv to jump into them and have a specialized environment for that project. I would like to have something like that for my full system config as well. Not just the software installed, but upstart tasks and

Re: [Nix-dev] ffmpeg defaults

2012-02-08 Thread Mathijs Kwik
+1 enable Only thing to watch mind: overlapping codecs/defaults. xvid decoding is probably handled by some generic mpeg4 codec at the moment, which might be better/worse than xvid itself. I don't know a whole lot about ffmpeg, so maybe this isn't an issue at all (probably players decide this

Re: [Nix-dev] ffmpeg defaults

2012-02-08 Thread Mathijs Kwik
On Wed, Feb 8, 2012 at 9:05 PM, Eelco Dolstra e.dols...@tudelft.nl wrote: On 08/02/12 20:50, Lluís Batlle i Rossell wrote: On Wed, Feb 08, 2012 at 08:38:01PM +0100, Mathijs Kwik wrote: +1 enable Only thing to watch mind: overlapping codecs/defaults. xvid decoding is probably handled by some

Re: [Nix-dev] multiple full system profiles

2012-02-08 Thread Mathijs Kwik
Perfect, that seems to do what I want. I have the inherited configs show up in my grub.cfg. Few questions though: The base configuration (that includes the nesting.clone option) seems to become the default. Do I just use boot.loader.grub.default to change the boot default or is there another way

[Nix-dev] grub2, and booting from lvm/raid

2012-02-08 Thread Mathijs Kwik
Hi all, In the example configs, there's a config for root-on-lvm. It states that for lvm to work, you need a separate /boot partition. For grub2, this is no longer true. Grub2 has support for lvm and raid (at least raid1, not sure about other levels). Can anyone confirm nixos runs fine from lvm

[Nix-dev] nested child configurations - was: multiple full system profiles

2012-02-08 Thread Mathijs Kwik
On Wed, Feb 8, 2012 at 11:11 PM, Marc Weber marco-owe...@gmx.de wrote: Excerpts from Mathijs Kwik's message of Wed Feb 08 22:50:57 +0100 2012: How do I switch to/between subprofiles when running? Does nixos-rebuild switch jump back to the main profile or is there some current variant concept?

Re: [Nix-dev] ffmpeg defaults

2012-02-08 Thread Mathijs Kwik
they don't have to run a custom ffmpeg (leading to compiling vlc, chrome, kdemultimedia locally from now on), I'm fine with that. Goodnight all, Mathijs On 08-02-12 21:28, Mathijs Kwik wrote: On Wed, Feb 8, 2012 at 9:05 PM, Eelco Dolstrae.dols...@tudelft.nl  wrote: On 08/02/12 20:50, Lluís Batlle i

Re: [Nix-dev] nested child configurations - was: multiple full systemprofiles

2012-02-08 Thread Mathijs Kwik
On Thu, Feb 9, 2012 at 8:41 AM, Michael Raskin 7c6f4...@mail.ru wrote: What you should consider is using /nix/var/nix/profiles/system-*-link If I remember correctly, it is not affected by switches. Cool, indeed, that's a better entry point than /var/nix/current-system. I can now list and switch

Re: [Nix-dev] grub2, and booting from lvm/raid

2012-02-09 Thread Mathijs Kwik
Cool, thanks 2012/2/9 Andreas Källberg anka@gmail.com: Hi Mathijs, On 8 February 2012 22:26, Mathijs Kwik math...@bluescreen303.nl wrote: Can anyone confirm nixos runs fine from lvm without a separate /boot partition? Yes, I can confirm that it runs fine on lvm without separate boot

[Nix-dev] build failure for mongodb on darwin

2012-02-10 Thread Mathijs Kwik
Hi all, Hydra informed me of a build error for mongodb, of which I'm the maintainer. I don't have access to mac hardware, and the problem seems related to apple's own compiler. Can someone with a mac and some knowledge about their toolchain please have a look? http://hydra.nixos.org/build/2030367

[Nix-dev] powertop kernel

2012-02-13 Thread Mathijs Kwik
Hi all, I want to do some power usage tuning for my laptop, or at least gain some insights into how my battery is spent. I understand I need the powertop tool to do this, and I found that it complains about some kernel config options. I found the _powertop kernel variants, which are probably

Re: [Nix-dev] powertop kernel

2012-02-14 Thread Mathijs Kwik
On Tue, Feb 14, 2012 at 12:06 PM, Arie Middelkoop amidd...@gmail.com wrote: On 13-02-12 22:24, Mathijs Kwik wrote: Hi all, I want to do some power usage tuning for my laptop, or at least gain some insights into how my battery is spent. I understand I need the powertop tool to do this, and I

Re: [Nix-dev] logrotate

2012-02-16 Thread Mathijs Kwik
Thanks, I don't run a httpd though, so I took that out. The rest is fine for a default I think. 2012/2/15 Lluís Batlle i Rossell vi...@viric.name: On Wed, Feb 15, 2012 at 07:46:47AM +0100, Mathijs Kwik wrote: I enabled services.logrotate, but I found it comes with an empty config. Can

Re: [Nix-dev] nixos and nixpkgs repos on github

2012-02-18 Thread Mathijs Kwik
Marc Weber marco-owe...@gmx.de writes: Sorry if this is a stupid question, but I don't understand the whole svn-to-git-import-is-hard issue. I've been using git-svn for nixos/nixpkgs without problems from when I first started using nix (which is still quite recent though). I push to github to

[Nix-dev] getConfig vs packageOverrides

2012-02-19 Thread Mathijs Kwik
Hi all, When writing packages with optional dependencies and other config options, I can choose to get these options through an optional argument to the function, or to use getConfig to fetch them from nixpkgs.config. Setting them by either nixpkgs.config or by using packageOverrides to set the

[Nix-dev] Contributions for nixpkgs

2012-02-19 Thread Mathijs Kwik
Hi all, I have some more stuff to share. For 2 patches, I would like Eelco's approval (see 0005 and 0011 below). After that's decided, will someone please be so kind to commit these to svn? Few notes about these patches: 0001: To get rid of double dhclient processes, I switched

Re: [Nix-dev] upgrades and new packages

2012-02-19 Thread Mathijs Kwik
On Sun, Feb 19, 2012 at 10:38 PM, Peter Simons sim...@cryp.to wrote: Hi Mathijs,   https://github.com/bluescreen303/nixpkgs/commit/6007ca525582aadb10acc5bd0837576cdf21531e   https://github.com/bluescreen303/nixpkgs/commit/44c17436b4135546935012d282edef83ebb9e02d both patches are now

[Nix-dev] unifying networking related triggers

2012-02-20 Thread Mathijs Kwik
Hi all, In recent commits, I saw that ifplugd got cleaned up a bit and now has configurable commands to execute when connected. I submitted a patch with the same functionality for wicd, and probably someday someone will do the same for NetworkManager. On top of the physical connection, there are

Re: [Nix-dev] unifying networking related triggers

2012-02-20 Thread Mathijs Kwik
On Mon, Feb 20, 2012 at 4:29 PM, Eelco Dolstra e.dols...@tudelft.nl wrote: Hi, On 20/02/12 13:56, Mathijs Kwik wrote: In recent commits, I saw that ifplugd got cleaned up a bit and now has configurable commands to execute when connected. Hopefully ifplugd will become unnecessary, since

[Nix-dev] scanning in KDE

2012-02-20 Thread Mathijs Kwik
Hi all, Is anyone using a scanner from kde? I'm not sure which package/application is able to use sane. I have hardware.sane.enable = true in config.nix. Looking at dependencies, I'd say libksane is the basic library to access sane. Then there's a package ksaneplugin, but I don't understand what

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r32480 - in nixos/trunk: . lib

2012-02-22 Thread Mathijs Kwik
On Wed, Feb 22, 2012 at 10:28 PM, Shea Levy s...@shealevy.com wrote: Hi Peter, On 2/22/12 3:28 PM, Peter Simons wrote: Author: simons Date: Wed Feb 22 20:28:57 2012 New Revision: 32480 URL: https://nixos.org/websvn/nix/?rev=32480sc=1 Log: split release.nix into helpers and the jobs

Re: [Nix-dev] Contributions for nixpkgs

2012-02-22 Thread Mathijs Kwik
Thank you On Wed, Feb 22, 2012 at 9:29 PM, Peter Simons sim...@cryp.to wrote: Hi Mathijs, your patches are now in SVN. Thank you very much! Take care, Peter ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] Contributions for nixos

2012-02-22 Thread Mathijs Kwik
And thanks again :) On Wed, Feb 22, 2012 at 9:30 PM, Peter Simons sim...@cryp.to wrote: Hi Mathijs, same here -- your patches are now in SVN. Thanks you very much! Take care, Peter ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] Contributions for nixpkgs

2012-02-23 Thread Mathijs Kwik
at 9:15 AM, Yury G. Kudryashov urkud.ur...@gmail.com wrote: Mathijs Kwik wrote: On Wed, Feb 22, 2012 at 9:29 PM, Peter Simons sim...@cryp.to wrote: Hi Mathijs, your patches are now in SVN. Thank you very much! Thank you Why don't you use the released tarball of libbluray? -- Yury G

Re: [Nix-dev] Merging the stdenv branch

2012-02-23 Thread Mathijs Kwik
I wanted to fix gw6c for the stdenv branch (by replacing it with gogoclient, which is the maintained fork of gw6c). However, I run into a few issues when building my system from stdenv branch, and they are not in your problem-list: They seem to be related to using a 3.2 kernel. For some packages,

Re: [Nix-dev] [PATCHES] vsftpd and filesystems

2012-02-23 Thread Mathijs Kwik
On Thu, Feb 23, 2012 at 11:52 PM, Bryce L Nordgren bnordg...@gmail.com wrote: The following two patches are to address some issues I had trying to setup an ftp server with btrfs. vsftpd.patch : Patched to create an upload directory with the correct permissions if cfg.anonymousUser is true

Re: [Nix-dev] [PATCHES] vsftpd and filesystems

2012-02-24 Thread Mathijs Kwik
On Fri, Feb 24, 2012 at 5:41 PM, Bryce L Nordgren bnordg...@gmail.com wrote: On Thu, Feb 23, 2012 at 11:49 PM, Mathijs Kwik math...@bluescreen303.nl wrote: This patch forces loading of the btrfs module for everyone, and the inclusion of the btrfs tool in everyone's initrd. Perhaps you can

Re: [Nix-dev] [PATCHES] vsftpd and filesystems

2012-02-25 Thread Mathijs Kwik
On Sat, Feb 25, 2012 at 2:22 PM, Eelco Dolstra e.dols...@tudelft.nl wrote: On 25/02/12 08:45, Mathijs Kwik wrote: A module that might not be available on some architectures / older kernel versions / custom configs. That shouldn't be a problem because the script that builds the initrd skips

Re: [Nix-dev] [PATCHES] vsftpd and filesystems

2012-02-25 Thread Mathijs Kwik
2012/2/25 Lluís Batlle i Rossell vi...@viric.name: Right, mips and armv5tel nixos default kernels don't have those modules. Those systems would fail to boot on next reboot after rebuild. Annoying. Why not prepare some boot.btrfs = true; kind of option, if btrfs is a complicated thing? A

[Nix-dev] config file with a password

2012-02-25 Thread Mathijs Kwik
Hi all, I'm currently packaging gogoclient ( an ipv6 tunneling client ) and writing a nixos module for it. It needs a config file which has a password in it. It's quite a big config, which I want to fill in from nix config options, so I don't want to tell people to just supply the full file

[Nix-dev] running a daemon as a user

2012-02-27 Thread Mathijs Kwik
Hi all, I can use some hints on running a daemon as a user. Nixos creates the user, and the job.preStart makes sure the directory below /var/lib is owned by that user. The daemon itself doesn't have support for specifying a user/group, so I use: su username -c mydaemon This works fine, but as a

[Nix-dev] contributions for nixpkgs (including replacement for stdenv-updates problems)

2012-02-27 Thread Mathijs Kwik
Hi all, Few new packages, nothing fancy. GogoClient is the (better maintained) fork of gw6c. I included some patches to get it to build on stdenv-updates as well (gw6c is broken there). Nixos modules to use it in next mail. Can someone please commit these to svn? Thanks a lot, Mathijs

[Nix-dev] contributions for nixos (please check first if everyone agrees, especially gw6c users)

2012-02-27 Thread Mathijs Kwik
Hi all, patch 1 and 2 can be applied right away, they're safe. patch 3, 4 and 5 might need some discussion. I set out to replace gw6c with gogoclient because of stdenv-updates breaking gw6c. gw6c's module was a bit messy (strange password handling using seccurekeys), so I simplified it a bit

Re: [Nix-dev] contributions for nixpkgs (including replacement for stdenv-updates problems)

2012-02-27 Thread Mathijs Kwik
On Tue, Feb 28, 2012 at 1:11 AM, Peter Simons sim...@cryp.to wrote: Hi Mathijs,   Can someone please commit these to svn? I committed your patches. Thank you for the updates. Thanks I wonder about this change, though: -  name = moderncv-2012.01.16; +  name = moderncv-0.19; Where does

[Nix-dev] contributions for nixos (please check first if everyone agrees, especially gw6c users)

2012-02-28 Thread Mathijs Kwik
Hi all, patch 1 and 2 can be applied right away, they're safe. patch 3, 4 and 5 might need some discussion. I set out to replace gw6c with gogoclient because of stdenv-updates breaking gw6c. gw6c's module was a bit messy (strange password handling using seccurekeys), so I simplified it a bit

Re: [Nix-dev] best process for building from source under development?

2012-03-03 Thread Mathijs Kwik
I use myEnvFun for that in my ~/.nixpkgs/config.nix: webEnv = pkgs.myEnvFun { name = webdev; buildInputs = [pkgs.stdenv pkgs.jruby165 pkgs.nodejs]; }; As you can see, I include stdenv there as well. You are correct that auto* is in stdenv, but you normally don't have the standard build

Re: [Nix-dev] luks changes

2012-03-03 Thread Mathijs Kwik
2012/3/3 Lluís Batlle i Rossell vi...@viric.name: Hello people using luksRoot... I changed that a bit on nixos, I hope that for the better. I used it to get a ciphered swap that works for hibernation. If you had: boot.initrd.luksRoot = /dev/sda2; Then now you have to write:

[Nix-commits] SVN commit: nix - r32760 - nixpkgs/trunk/pkgs/development/web/nodejs

2012-03-04 Thread Mathijs Kwik
Author: mkwik Date: Sun Mar 4 12:28:45 2012 New Revision: 32760 URL: https://nixos.org/websvn/nix/?rev=32760sc=1 Log: upgraded nodejs to 0.6.11 Modified: nixpkgs/trunk/pkgs/development/web/nodejs/default.nix Modified: nixpkgs/trunk/pkgs/development/web/nodejs/default.nix

[Nix-commits] SVN commit: nix - r32767 - in nixos/trunk/modules: . services/networking

2012-03-04 Thread Mathijs Kwik
Author: mkwik Date: Sun Mar 4 12:58:22 2012 New Revision: 32767 URL: https://nixos.org/websvn/nix/?rev=32767sc=1 Log: gogoclient: ipv6 tunnel module meant to replace the obsolete gw6c module builds fine on stdenv-updates branch Added: nixos/trunk/modules/services/networking/gogoclient.nix

[Nix-dev] gw6c users: prepare to switch to gogoclient

2012-03-04 Thread Mathijs Kwik
Hi all, The old gw6c ipv6 client hasn't been maintained for a few years. It worked fine though, but it will break when the new stdenv merges. The project continued, now named gogoclient. I provided nixpkgs for it and now merged nixos support as well so it should be trivial to switch. It builds

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

2012-03-04 Thread Mathijs Kwik
On Sun, Mar 4, 2012 at 3:05 PM, Eelco Dolstra eelco.dols...@logicblox.com wrote: On 04/03/12 13:58, Mathijs Kwik wrote Author: mkwik Date: Sun Mar  4 12:58:06 2012 New Revision: 32762 URL: https://nixos.org/websvn/nix/?rev=32762sc=1 Log: upstart: options for setuid and setgid as jobs

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r32764 - nixos/trunk/modules/tasks

2012-03-04 Thread Mathijs Kwik
On Sun, Mar 4, 2012 at 3:13 PM, Eelco Dolstra eelco.dols...@logicblox.com wrote: On 04/03/12 13:58, Mathijs Kwik wrote: Log: all-interfaces event It's great to get rid of the special casing of gw6c.  But some comments: I don't like the name all-interfaces, which suggests that all

[Nix-commits] SVN commit: nix - r32781 - in nixos/trunk/modules: services/networking services/networking/gw6c tasks

2012-03-04 Thread Mathijs Kwik
Author: mkwik Date: Sun Mar 4 18:44:47 2012 New Revision: 32781 URL: https://nixos.org/websvn/nix/?rev=32781sc=1 Log: changed the way networking-providers plug themselves before networking Modified: nixos/trunk/modules/services/networking/gogoclient.nix

[Nix-dev] chrome broken by libpng upgrade

2012-03-04 Thread Mathijs Kwik
Hi all, Today's merge of the libpng upgrade branch broke my browser (chrome). /nix/store/iczjj9rwgp91nqkykpb0gi3khiw4xf99-chromium-18.0.975.0-pre114925/libexec/chrome/chrome: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

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

2012-03-04 Thread Mathijs Kwik
Author: mkwik Date: Sun Mar 4 22:47:52 2012 New Revision: 32789 URL: https://nixos.org/websvn/nix/?rev=32789sc=1 Log: chromium: depend on libpng12 Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix

Re: [Nix-dev] chrome broken by libpng upgrade

2012-03-04 Thread Mathijs Kwik
On Mon, Mar 5, 2012 at 6:03 AM, Yury G. Kudryashov urkud.ur...@gmail.com wrote: Mathijs Kwik wrote: Hi all, Today's merge of the libpng upgrade branch broke my browser (chrome). /nix/store/iczjj9rwgp91nqkykpb0gi3khiw4xf99-chromium-18.0.975.0- pre114925/libexec/chrome/chrome: error while

[Nix-dev] influence of cpu/kernel version on builds

2012-03-07 Thread Mathijs Kwik
Hi all, I recently ran into a package (nss) which failed to compile on my laptop, but succeeded on my desktop. Now, you would think this must be because some dependency/setting is different on these machines, meaning the nix-store hash of the result would end up differently, but this was not the

[Nix-dev] logging build failures

2012-03-10 Thread Mathijs Kwik
Hi all, What is the best way to log build problems? nix-build has a --build-type option, but I cannot figure out its arguments. It tells me to look it up using nix-instantiate --help, but nothing there. Man pages are silent too :( Thanks, Mathijs ___

[Nix-dev] uefi booting on nixos

2012-03-16 Thread Mathijs Kwik
Hi Shea, I saw your commits dealing with uefi booting. On my laptop, windows 7 boots fine from uefi. However, linux doesn't. Grub-uefi boots, but something goes wrong (memory mapping) when handig control to the kernel. In the past, I've spent countless hours debugging it to no avail. I would

[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:

[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

Re: [Nix-dev] uefi booting on nixos

2012-03-19 Thread Mathijs Kwik
). 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 upgraded to kernel 3.3 and set this config:    boot.loader.efiBootStub = {      enable = true;      efiSysMountPoint = /efi;      runEfibootmgr = true;      installStartupNsh

[Nix-commits] SVN commit: nix - r33364 - in nixpkgs/trunk/pkgs: development/libraries/haskell/Stream top-level

2012-03-22 Thread Mathijs Kwik
Author: mkwik Date: Thu Mar 22 22:37:13 2012 New Revision: 33364 URL: https://nixos.org/websvn/nix/?rev=33364sc=1 Log: haskell-Stream Added: nixpkgs/trunk/pkgs/development/libraries/haskell/Stream/ nixpkgs/trunk/pkgs/development/libraries/haskell/Stream/default.nix Modified:

  1   2   3   4   >