Re: [Nix-dev] haskell: overriding mtl/any builtin

2014-09-08 Thread Peter Simons
Hi Mateusz, Notably if I specify mtl = mtl_2_2_1; then it complains that it needs transformers == 0.4 but there seems to be no clues in nixpkgs as to how to achieve this. Currently mtl = 2.2.1 for HEAD but I know it should work with 7.8.3 transformers is a core library in GHC 7.8.3. We

[Nix-dev] NixOS on MacBook: how to enable sudden motion sensor?

2014-09-08 Thread Alexey Muranov
Hello, could you tell me please how to make sure in NixOS on a MacBook that the sudden motion sensor and the relevant disk protection are enabled? It seems that i need applesmc module for this, but i couldn't find how to install it in NixOS. Thanks, Alexey.

Re: [Nix-dev] automatically mount vboxsf

2014-09-08 Thread Andreas Herrmann
Hi Nicolas, On Saturday 06 September 2014 20:25:43 Nicolas Pierron wrote: Have you tried listing it as an entry of the fileSystem of the vm, such as: fileSystems./host_home = { fsType = vboxsf; device = hostHome; }; Thanks for the hint. I got it working with the following config:

Re: [Nix-dev] automatically mount vboxsf

2014-09-08 Thread Luca Bruno
Additionally, I had to add the vbox guest additions into the scope: system.fsPackages = [ config.boot.kernelPackages.virtualboxGuestAdditions ]; I suggest you to use services.virtualbox.enable = true. ___ nix-dev mailing list

Re: [Nix-dev] DevOps sprint at gocept/FlyingCircus

2014-09-08 Thread Rok Garbas
i think i'll be only able to come for fri/sat maybe i can come for later on thu but not 100%. -- Rok Garbas - http://www.garbas.si ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] PAGER=less -R

2014-09-08 Thread Marc Weber
topgit has an issue with that: https://github.com/greenrd/topgit/blob/master/tg.sh#L462 TG_PAGER gets defined some lines above ${FOO-xxx) means but word if FOO isn't defined (thanks to Lethalman, I failed finding that in the man page. Is the best way to fix this by dropping quotes? Does anybody

Re: [Nix-dev] automatically mount vboxsf

2014-09-08 Thread Andreas Herrmann
Dear Luca, On Monday 08 September 2014 10:57:31 Luca Bruno wrote: system.fsPackages = [ config.boot.kernelPackages.virtualboxGuestAdditions ]; I suggest you to use services.virtualbox.enable = true. Doesn't nixops set this by default when the deployment is virtualbox? At

[Nix-dev] Fwd: GHC pointed at the wrong package

2014-09-08 Thread Benno Fünfstück
Seems I forgot to send this email to the list ... -- Benno -- Forwarded message -- From: Benno Fünfstück benno.fuenfstu...@gmail.com Date: 2014-08-24 20:00 GMT+02:00 Subject: Re: [Nix-dev] GHC pointed at the wrong package To: Mateusz Kowalczyk fuuze...@fuuzetsu.co.uk Yes, GHC

Re: [Nix-dev] GHC pointed at the wrong package

2014-09-08 Thread Mateusz Kowalczyk
On 09/07/2014 10:10 PM, Rickard Nilsson wrote: On 08/23/2014 03:15 PM, Mateusz Kowalczyk wrote: On 08/23/2014 01:29 PM, Peter Simons wrote: Hi Mateusz, There are problems in package regex-tdfa-1.2.0: dependency parsec-3.1.5-ca5ed8f175b69e1a085cfeaf3b95f424 doesn't exist There

Re: [Nix-dev] haskell: overriding mtl/any builtin

2014-09-08 Thread Mateusz Kowalczyk
On 09/08/2014 07:36 AM, Peter Simons wrote: Hi Mateusz, Notably if I specify mtl = mtl_2_2_1; then it complains that it needs transformers == 0.4 but there seems to be no clues in nixpkgs as to how to achieve this. Currently mtl = 2.2.1 for HEAD but I know it should work with 7.8.3

Re: [Nix-dev] PAGER=less -R

2014-09-08 Thread Vladimír Čunát
On 09/08/2014 11:56 AM, Marc Weber wrote: topgit has an issue with that: What issue do you mean. Either I don't get you or I can't reproduce it. Vladimir smime.p7s Description: S/MIME Cryptographic Signature ___ nix-dev mailing list

[Nix-dev] Developing with older packages

2014-09-08 Thread Richard Wallace
Hello, I'm using nix-shell to setup a Haskell environment for development. On a project I ran into a problem recently, and I'm curious if there is a common/preferred way of solving it. The problem I ran into is that the project depends on the mongoDB 1.5 package. The API changed drastically in

Re: [Nix-dev] NixOS on Azure?

2014-09-08 Thread Ross Gardler (MS OPEN TECH)
I'm not sure if you mean the initial connection for the end user (i.e. someone deploying from your image) or for your preparation of the image. If you mean the end user then the user provides either an SSH key or a password when the deploy the image. This is handled by either the Azure portal

Re: [Nix-dev] Developing with older packages

2014-09-08 Thread Mateusz Kowalczyk
On 09/08/2014 04:56 PM, Richard Wallace wrote: Hello, I'm using nix-shell to setup a Haskell environment for development. On a project I ran into a problem recently, and I'm curious if there is a common/preferred way of solving it. The problem I ran into is that the project depends on

Re: [Nix-dev] Developing with older packages

2014-09-08 Thread Vladimír Čunát
Hi. On 09/08/2014 05:56 PM, Richard Wallace wrote: The API changed drastically in 2.0 and we're not ready to undertake the upgrade yet. That sounds like it makes sense to keep mongoDB_1_5 in nixpkgs, at least for some time. More people may experience the same issue. (It seems simplified by

[Nix-dev] Default to GNOME 3.12

2014-09-08 Thread Luca Bruno
* GNOME 3.10 life * In the staging branch I've changed gnome3 to be 3.12 by default, including the nixos test. I haven't tested the change locally except for a few packages. GNOME 3.10 is still sticking around as gnome3_10. In case any program fails to build or run, we can fallback to gnome3_10

Re: [Nix-dev] PAGER=less -R

2014-09-08 Thread Marc Weber
Fed upstream: https://github.com/greenrd/topgit/issues/36 Thanks for tv @ irc for helping. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Developing with older packages

2014-09-08 Thread Richard Wallace
On Mon, Sep 8, 2014 at 9:03 AM, Mateusz Kowalczyk fuuze...@fuuzetsu.co.uk wrote: On 09/08/2014 04:56 PM, Richard Wallace wrote: Hello, I'm using nix-shell to setup a Haskell environment for development. On a project I ran into a problem recently, and I'm curious if there is a

Re: [Nix-dev] Developing with older packages

2014-09-08 Thread Richard Wallace
On Mon, Sep 8, 2014 at 9:04 AM, Vladimír Čunát vcu...@gmail.com wrote: Hi. On 09/08/2014 05:56 PM, Richard Wallace wrote: The API changed drastically in 2.0 and we're not ready to undertake the upgrade yet. That sounds like it makes sense to keep mongoDB_1_5 in nixpkgs, at least for

Re: [Nix-dev] Developing with older packages

2014-09-08 Thread Vladimír Čunát
On 09/08/2014 08:12 PM, Richard Wallace wrote: One thing that surprised me about nix when I started using it is that there isn't a way to say, I need package X with version Y. Instead, you have to resort to having multiple definitions of the package with different package names for different

Re: [Nix-dev] Developing with older packages

2014-09-08 Thread Vladimír Čunát
On 09/08/2014 08:08 PM, Richard Wallace wrote: Well, the mongoDB package isn't the only one that I want to get a specific version of. We originally built it with a sandbox and used `cabal freeze` to make sure everyone is using the same versions. So there are a number of such packages and I was

Re: [Nix-dev] Developing with older packages

2014-09-08 Thread Luca Bruno
What about just copying the old .nix from old nixpkgs commits? On Mon, Sep 8, 2014 at 8:08 PM, Richard Wallace rwall...@thewallacepack.net wrote: On Mon, Sep 8, 2014 at 9:03 AM, Mateusz Kowalczyk fuuze...@fuuzetsu.co.uk wrote: On 09/08/2014 04:56 PM, Richard Wallace wrote: Hello, I'm

Re: [Nix-dev] Developing with older packages

2014-09-08 Thread Vladimír Čunát
On 09/08/2014 10:27 PM, Luca Bruno wrote: www.debian.org http://www.debian.org - The Universal Operating System You should update your footer ;-) smime.p7s Description: S/MIME Cryptographic Signature ___ nix-dev mailing list

Re: [Nix-dev] Developing with older packages

2014-09-08 Thread Luca Bruno
Haven't found a cool slogan for nixos yet :P On Mon, Sep 8, 2014 at 11:23 PM, Vladimír Čunát vcu...@gmail.com wrote: On 09/08/2014 10:27 PM, Luca Bruno wrote: www.debian.org http://www.debian.org - The Universal Operating System You should update your footer ;-)

Re: [Nix-dev] Terminus console font

2014-09-08 Thread 宋文武
M. P. Ashton d...@imap.cc writes: On Sun, Sep 7, 2014, at 02:20 PM, Dmitry Malikov wrote: Good day. I'm not a huge fan of X server, that why I'm spending my time inside a tty and virtual terminals. Default fonts that NixOS offers are not perfectly suite my eyes that why I'm looking for a