[Nix-dev] Automount for usb thumb drives / other external drives

2015-07-15 Thread Paul Koerbitz
Dear list, I would like to automatically mount usb sticks that I plug into my laptop. I haven't been able to figure out how to do this in NixOS, what's the easiest option? thank you Paul ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.

Re: [Nix-dev] How to build PHP with xdebug support

2015-05-13 Thread Paul Koerbitz
is a more elegant solution. cheers Paul On Wed, May 13, 2015 at 9:52 AM, Paul Koerbitz wrote: > Hi there, > > I am struggeling a bit trying to install PHP so that it supports > xdebug. I can install both php and xdebug, but I don't understand how > I can teach PHP about th

[Nix-dev] How to build PHP with xdebug support

2015-05-13 Thread Paul Koerbitz
Hi there, I am struggeling a bit trying to install PHP so that it supports xdebug. I can install both php and xdebug, but I don't understand how I can teach PHP about the xdebug extension. I have tried to override the PHP deriviation (by placing my own modified deriviation under ~/.nixpkgs/php/)

Re: [Nix-dev] Stumped trying to build Idris with mtl_2_2_1

2015-01-14 Thread Paul Koerbitz
Dear Shea, dear Peter, thank you for these details. I've seen the discussions on haskellng, so far I had been dissuaded from using it by the fact that my machine tries to compile everything from source (including ghc) and doesn't have enough free space to do so... I'll take another stab and come b

[Nix-dev] Stumped trying to build Idris with mtl_2_2_1

2015-01-12 Thread Paul Koerbitz
Dear all, I am a bit lost trying to build a current version of Idris ( https://github.com/idris-lang/Idris-dev) with my Haskell setup on NixOS. The problem is that Idris depends on mtl >= 2.2.1 and I have been unable to get a working setup with mtl_2_2_1. I have found a suggestion by jwiegley [1

Re: [Nix-dev] package dependency problem: ghc-mod: cannot satisfy -package-id mtl-2.1.3.1

2014-12-15 Thread Paul Koerbitz
Hi Carlo, Peter, So Carlo is right, by 'hsEnv approach' I meant ghcWithPackages. Sorry for causing confusion by using the wong name. > Paul, I think you could benefit from this mail from Peter outlining > how to setup a working haskell installation: > http://article.gmane.org/gmane.linux.distribu

[Nix-dev] package dependency problem: ghc-mod: cannot satisfy -package-id mtl-2.1.3.1

2014-12-10 Thread Paul Koerbitz
Hi all, I have a problem keeping ghc-mod happy. After trying a number of other approaches I have opted to install all haskell packages to my profile via the 'hsEnv' approach. `ghc-pkg check`, `cabal configure` and `cabal build` all work fine, however as soon as I include the mtl package in one of

Re: [Nix-dev] How to get ghc-mod to work with nix-shell

2014-12-01 Thread Paul Koerbitz
On Mon, Dec 1, 2014 at 6:44 PM, John Wiegley wrote: > > I run Emacs from within the nix-shell environment. > > I've thought of this too, but I usually have emacs running several days, working on multiple projects, so it's not really ideal for me. But thanks to your input, I've come up with putti

[Nix-dev] How to get ghc-mod to work with nix-shell

2014-12-01 Thread Paul Koerbitz
Dear all, I know that this has been asked before, but I am still having problems to get ghc-mod in emacs to work right with under nixos. I want the ghc-mod process to pick up the 'default.nix' file which is sitting in my projects directory. When I do run 'nix-shell --pure --command ghc-modi' thin