[Nix-dev] Can't get powerline symbols working

2015-12-01 Thread Richard Wallace
I'm trying to get the powerline fonts working in vim the way it is described for fontconfig < https://powerline.readthedocs.org/en/latest/installation/linux.html#fontconfig> and am having issues. I've put the PowerlineSymbols.otf file in my ~/.local/share/fonts directory and the

[Nix-dev] npm instlall phantomjs not working correctly

2015-10-05 Thread Richard Wallace
Hey folks, I'm having problems running phantomjs in a project that uses it for testing. When running `npm install` it gets installed correctly, but when I try and run it I'm told "No such file or directory". People on this issue <

Re: [Nix-dev] npm instlall phantomjs not working correctly

2015-10-05 Thread Richard Wallace
js in your shell. > Then npm install will say something like this: > > PhantomJS is already installed at > /nix/store/r7hmkiz9ypbrs8liy7g660qvzxhdx0l4-phantomjs-1.9.8/bin/phantomjs. > > On 6 Oct 2015 5:24 am, "Richard Wallace" <rwall...@thewallacepack.net> > wr

[Nix-dev] Using chromium from nixpkgs on non-NixOS

2015-09-28 Thread Richard Wallace
Hey all, I'm running Arch Linux on my desktop because I haven't been able to get NixOS installed. It's an older Mac tower and last time I tried I ran into issues . This is something I hope to revisit in the near future, probably once 15.09 is

Re: [Nix-dev] systemd stdout logging

2015-06-28 Thread Richard Wallace
. You didn't disable journal storage or something like that, right? On Sun, Jun 28, 2015 at 7:48 AM, Richard Wallace rwall...@thewallacepack.net wrote: I've got a service that I'm deploying with nixops. I've got a systemd service configured systemd.services.hiplambda

[Nix-dev] nixops deploying to libvirtd

2015-06-18 Thread Richard Wallace
Hello all, I'm trying to get a project setup to deploy to libvirtd locally instead of VirtualBox because I've grown a bit tired of VirtualBox being so buggy. But I'm having issues getting the libvirtd deployment going and I'm hoping someone can help me along. I'm running NixOS on the host, so in

Re: [Nix-dev] nixops virtualbox disk size

2015-06-16 Thread Richard Wallace
Where should that be configured? In the examples in the manual https://nixos.org/nixops/manual/#idm140737319351408 I tried adding it in trivial.nix as 'virtualbox.baseImageSize = 50G;' and tried adding it to trivial-vbox.nix as 'deployment.virtualbox.baseImageSize = 50G;' and neither seemed to

Re: [Nix-dev] nixops virtualbox disk size

2015-06-16 Thread Richard Wallace
joel.mob...@gmail.com wrote: I don't use nixops but after looking in the repo i found this: https://github.com/NixOS/nixops/blob/master/nix/virtualbox.nix#L42 So it should be: virtualbox.disks.mydisk = { port=1; size=123123123; }; Hope this works. On Tue, Jun 16, 2015 at 8:56 PM, Richard Wallace

Re: [Nix-dev] nixops virtualbox disk size

2015-06-16 Thread Richard Wallace
How would that be used here? On Tue, Jun 16, 2015 at 1:09 PM, Tomas Hlavaty t...@logand.com wrote: There is also virtualization.diskSize. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] nixops virtualbox disk size

2015-06-15 Thread Richard Wallace
I'm trying to use nixops to deploy a service to VirtualBox (and eventually ec2). This service requires a very large /nix/store - it depends on a very large number of Haskell packages. During the deploy, I eventually see hiplambda exporting path

Re: [Nix-dev] nixops logical network values depend on physical network deployed to

2015-06-14 Thread Richard Wallace
Great, thanks! On Sun, Jun 14, 2015 at 2:53 AM, Rob Vermaas rob.verm...@gmail.com wrote: Hi Richard, I have a case where a value in my logical network configuration will be different depending on what physical network is deployed to. It's the base URI of the web service, which will be

[Nix-dev] nixops logical network values depend on physical network deployed to

2015-06-13 Thread Richard Wallace
Hello all, I have a case where a value in my logical network configuration will be different depending on what physical network is deployed to. It's the base URI of the web service, which will be http://localhost:8080/ when deploying to a local virtualbox instance and the public address

[Nix-dev] Use NixOps to deploy a Haskell app to Amazon EC2

2015-06-12 Thread Richard Wallace
Hello all, I'm hoping someone can provide me with a bit of information on how I might be able to deploy a custom Haskell application to Amazon EC2 with nixops. The best how-to I've found http://zef.me/blog/5981/deploying-a-simple-node-js-application-with-nixops revolves around a node.js app and

[Nix-dev] Getting mueval working again

2015-06-05 Thread Richard Wallace
mueval used to work via a wrapper, so that the GHC_PACKAGE_PATH would be set correctly. This is no longer the case, and I'm having trouble figuring out how to get it working again. I've tried setting the GHC_PACKAGE_PATH to $NIX_GHC_LIBDIR/package.conf.d, but I still get the same error: $

[Nix-dev] ghc-mod with ghc 7.10.1

2015-05-29 Thread Richard Wallace
Has anyone gotten this to work successfully on nix? I used cabal2nix to create a package from ghc-mod master branch on github and did the same for cabal-helper. I had to disable testing on both since they fail for different reasons (cabal-helper tries to access something in $HOME and I'm not sure

[Nix-dev] Why is nodejs-7f considered an upgrade to nodejs?

2015-04-28 Thread Richard Wallace
I keep running into this issue whenever I run `nix-env --upgrade` that nix-env thinks that nodePackages.7f is an upgrade to nodejs. Consequently, I have to force a downgrade to the nodejs package after every upgrade. Is there a way to avoid this? Thanks, Rich

[Nix-dev] Heroku package

2015-04-23 Thread Richard Wallace
Hey all, There used to be a package for heroku in nixpkgs. I recently found need of it and it seems to be gone. What happened to it? How can it be installed on NixOS these days? I tried downloading and installing, but it fails to find ruby. Thanks, Rich

Re: [Nix-dev] How to add tools to a nix-shell environment for haskell development?

2015-03-06 Thread Richard Wallace
Everyone seems to have their own way of doing it. Recently I've been using a script to create the environment I like [1]. The only prereq is that a default.nix exists. Then it checks for a shell.nix, and if present, uses that. This gives me the ability to override existing packages. Otherwise it

Re: [Nix-dev] Please test Nix store auto-optimise

2015-02-13 Thread Richard Wallace
Thank you for pointing this option out! I had no idea it existed before and it should prove very useful! $ du -hs /nix/store/ 38G /nix/store/ $ sudo nix-store --optimise -v snip 12456.46 MiB freed by hard-linking 881561 files $ du -hs /nix/store/ 23G /nix/store/ Does the auto linking also happen

Re: [Nix-dev] HaskellNG Binaries not linking correctly

2015-02-04 Thread Richard Wallace
After trying with haskellPackages I realized that the version in my cabal file was different than the version in my nix file. After making them match everything is happy. On Wed, Feb 4, 2015 at 2:13 PM, Richard Wallace rwall...@thewallacepack.net wrote: Hey folks, I'm having an issue

Re: [Nix-dev] Check the priority of package in the nix store

2015-02-01 Thread Richard Wallace
On Sun, Feb 1, 2015 at 1:07 AM, Vladimír Čunát vcu...@gmail.com wrote: On 01/31/2015 09:19 PM, Richard Wallace wrote: Is there a way to check the priority of something in the nix-store? Any ideas why the priority is being ignored and/or lost in this process? Am there something wrong in my

[Nix-dev] Check the priority of package in the nix store

2015-01-31 Thread Richard Wallace
Hey folks, I'm running into some issues with packages conflicting and the priority seeming to be ignored. I reported it last night thinking it was a problem with Haskell NG but now think it is something different. I'm using nix-build to build it locally, copy-nix-closure to copy it to the

[Nix-dev] HaskellNG and priority

2015-01-30 Thread Richard Wallace
So I'm having an issue with converting a package to the new haskellngPackages. When I try and install it, I get a collision error Jan 31 04:08:27 mpac-9 service_mpac_hiberico.dev.internal.atlassian.com: collision between

Re: [Nix-dev] [Haskell NG] Equivalent of the old eval $configurePhase eval $buildPhase eval $checkPhase ?

2015-01-22 Thread Richard Wallace
Hi Mateusz, You don't have to use cabal2nix to generate the default.nix and shell.nix files. It would be enough to generate the default.nix file and then in shell.nix you can have with (import nixpkgs {}).pkgs; (haskellngPackages.callPackage ./. {}).env To add overrides, you would do

Re: [Nix-dev] A Journey into our brand-new Haskell infrastructure: Part II

2015-01-17 Thread Richard Wallace
Hi Peter, I don't think I was very clear, sorry about that. The thing that I'm seeing is that when I run `nix-build default.nix -A AesonBson` with no overrides, as in this `default.nix` | with (import nixpkgs {}).pkgs; | let | modifiedHaskellPackages = haskellngPackages.override { |

Re: [Nix-dev] A Journey into our brand-new Haskell infrastructure: Part II

2015-01-16 Thread Richard Wallace
I feel like I must be missing something, because everytime I try and override a package with ghcWithPackages, it ends up rebuilding every Haskell library. For instance, I have this shell.nix https://gist.github.com/purefn/026625ad116b05ff9a8d. In this case, I've overridden the AesonBson package

Re: [Nix-dev] A Journey into the Haskell NG infrastructure: Part I

2015-01-10 Thread Richard Wallace
Hello, This looks pretty good. I tried converting one of my projects today and ran into an issue with cabal-test-quickcheck building path(s) ‘/nix/store/zyxd5g7ppxqbp9dhlz41vdjaki351a8w-haskell-cabal-test-quickcheck-0.1.2’ building

[Nix-dev] libnotify notifications with icons not displaying

2014-12-12 Thread Richard Wallace
I'm attempting to get notifications setup for when I use the volume keys on my keyboard, like in Ubuntu. I've setup xbindkeys, but the when I run notify-send -t 1000 -i multimedia-volume-control --hint=int:transient:1 --hint=int:value:$CURVOL --hint=string:synchronous:volume Volume up $PERC%

Re: [Nix-dev] New darwin binary cache from Zalora

2014-12-11 Thread Richard Wallace
Awesome! This is really good news for me. I was getting ready to setup a Hydra instance to create our own internal darwin cache. Thanks! On Thu, Dec 11, 2014 at 11:18 AM, Shea Levy s...@shealevy.com wrote: Hi all, My employer, Zalora, has made our darwin binary cache

Re: [Nix-dev] cache.nixos.org retention

2014-12-10 Thread Richard Wallace
That's odd, because I built this project on an OS X machine a few weeks ago and I definitely didn't have to built those packages. They were pulled from the nixos cache. On Wed, Dec 10, 2014 at 12:28 AM, Eelco Dolstra eelco.dols...@logicblox.com wrote: Hi, On 09/12/14 23:47, Richard Wallace

[Nix-dev] Hipchat not building

2014-12-05 Thread Richard Wallace
Hello, It looks like Hipchat no longer installs properly. building /nix/store/hcllz0m22j708qycn7fpbs0ixcpd8i8y-hipchat-2.2.1163 removed 'opt/HipChat/lib/libstdc++.so' removed 'opt/HipChat/lib/libstdc++.so.6' removed 'opt/HipChat/lib/libstdc++.so.6.0.18' removed 'opt/HipChat/lib/libz.so' removed

Re: [Nix-dev] bower

2014-11-14 Thread Richard Wallace
Count me as one of those running into this problem too. On Fri, Nov 7, 2014 at 7:08 AM, Shell Turner cam.t...@gmail.com wrote: Hey, I'm trying to get Bower running under NixOS. After installing it with nix-env -iA nixos.pkgs.nodePackages.bower, running bower outputs: module.js:340

Re: [Nix-dev] Vim conceal, cscope and other features

2014-11-12 Thread Richard Wallace
That's exactly what I was looking for, thanks! On Wed, Nov 12, 2014 at 8:15 AM, kickmymotorcy...@gmail.com kickmymotorcy...@gmail.com wrote: Rich, If you install the package `vimHugeX` instead of `vim`, you get a bunch of other features, including cscope and conceal. Here's the output of

[Nix-dev] Haskell doctest

2014-11-11 Thread Richard Wallace
Hello all, We've got a Haskell project that we're using nix to ensure a consistent build environment. I'm working on adding tests with doctest, and am running into trouble. Here are the default.nix and shell.nix files we're using (many dependencies elided for brevity) # This file was

[Nix-dev] Vim conceal, cscope and other features

2014-11-11 Thread Richard Wallace
Hey all, I just realized that vim in nix isn't configured with the conceal and cscope features enabled. Any reason for that? Is there an easy way to enable them (I know I can copy the nix file and edit it to my hearts content, but I was hoping there is a better way)? Thanks, Rich

[Nix-dev] Trouble with pygobject

2014-10-31 Thread Richard Wallace
Hey all, I'm trying to create some packages for applications that I use regularly before switching over to NixOS full time. So far things are going great. Now I'm trying to get pithos (a Pandora GTK client) built [1]. Pithos builds and everything looks ok, but when I try and run it I get

Re: [Nix-dev] Trouble with pygobject

2014-10-31 Thread Richard Wallace
On Fri, Oct 31, 2014 at 12:05 PM, Bjørn Forsman bjorn.fors...@gmail.com wrote: Hi Richard, On 31 October 2014 19:28, Richard Wallace rwall...@thewallacepack.net wrote: Hey all, [...] Now I'm trying to get pithos (a Pandora GTK client) built [1]. Pithos builds and everything looks ok

Re: [Nix-dev] Trouble with pygobject

2014-10-31 Thread Richard Wallace
On Fri, Oct 31, 2014 at 2:55 PM, Luca Bruno lethalma...@gmail.com wrote: What pygobject are using? Please write down the .nix expression. On Fri, Oct 31, 2014 at 10:45 PM, Richard Wallace rwall...@thewallacepack.net wrote: On Fri, Oct 31, 2014 at 12:05 PM, Bjørn Forsman bjorn.fors

Re: [Nix-dev] Trouble with pygobject

2014-10-31 Thread Richard Wallace
D'oh! I must have dropped that somewhere along the lines. Thanks! On Fri, Oct 31, 2014 at 3:01 PM, Luca Bruno lethalma...@gmail.com wrote: Put gtk, pango and gdk-pixbuf in the buildInputs. On Fri, Oct 31, 2014 at 10:59 PM, Richard Wallace rwall...@thewallacepack.net wrote: The nix

[Nix-dev] XMonad and Taffybar on nixos

2014-10-28 Thread Richard Wallace
Hello, Is anyone using xmonad and taffybar on nixos? I'm trying to, but I'm running into an issue with xmonad not being able to find modules provided by taffybar. Trying compile xmonad results in Could not find module: System.Taffybar.Hooks.PagerHints I set up xmonad as described on the NixOS

[Nix-dev] Broken ghc for OS X on cache.nixos.org

2014-10-16 Thread Richard Wallace
Hello all, In an effort to get our team to start using nix, I've setup a project of ours to be built with nix. One obstacle I've run into is that most of the team (pretty much everyone except me) is using OS X, so I've been trying to overcome the OS X ghc being broken in the nix cache [1]. I've

Re: [Nix-dev] Broken ghc for OS X on cache.nixos.org

2014-10-16 Thread Richard Wallace
On Thu, Oct 16, 2014 at 3:28 PM, Richard Wallace rwall...@thewallacepack.net wrote: On Thu, Oct 16, 2014 at 2:55 PM, Mateusz Kowalczyk fuuze...@fuuzetsu.co.uk wrote: On 10/16/2014 09:53 PM, Richard Wallace wrote: Hello all, In an effort to get our team to start using nix, I've setup

[Nix-dev] ghc not able to find libz.so

2014-10-14 Thread Richard Wallace
Hello all, I put nix on a new machine today and tried to build a Haskell project that successfully builds on other machines. To my great surprise, I encountered this error [ 6 of 12] Compiling Rainicorn.Types ( src/Rainicorn/Types.hs, dist/build/hiberico/hiberico-tmp/Rainicorn/Types.o ) no

Re: [Nix-dev] ghc not able to find libz.so

2014-10-14 Thread Richard Wallace
/gmane.linux.distributions.nixos/13362 This haskell program needs a zlib. My link above has Peter Simmon's hack. Aloha, RK. On Wed, Oct 15, 2014 at 12:33 PM, Richard Wallace rwall...@thewallacepack.net wrote: Hello all, I put nix on a new machine today and tried to build a Haskell

[Nix-dev] Seg fault on Arch

2014-10-13 Thread Richard Wallace
Hey all, All of a sudden I'm seeing seg faults with any nix-* commands. Probably due to some Arch package upgrade. I tried reinstalling nix but that fails with a seg fault too. Anyone else seeing the same and figured out a fix? Thanks, Rich ___

[Nix-dev] Cabal in nix environment producing different binaries

2014-09-09 Thread Richard Wallace
Hello again, I got my nix environment all setup for building our Haskell app and went to deploy it to a development box this morning, only to find out that it wouldn't run. After doing some inspection, it seems that the binary produced in the the nix environment is radically different than out

Re: [Nix-dev] Cabal in nix environment producing different binaries

2014-09-09 Thread Richard Wallace
On Tue, Sep 9, 2014 at 10:53 AM, Mateusz Kowalczyk fuuze...@fuuzetsu.co.uk wrote: On 09/09/2014 06:41 PM, Richard Wallace wrote: Hello again, I got my nix environment all setup for building our Haskell app and went to deploy it to a development box this morning, only to find out

[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] 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 common

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

Re: [Nix-dev] nixops waits forever for SSH

2014-08-22 Thread Richard Wallace
Ok, there is a vboxnet0 but it does not have the necessary IP address. Did I miss a step in the manual? On Fri, Aug 22, 2014 at 2:49 AM, Eelco Dolstra eelco.dols...@logicblox.com wrote: Hi, On 22/08/14 01:19, Luca Bruno wrote: Try disabling the firewall in the nixos configuration. Port

Re: [Nix-dev] nixops No such file or directory after creation

2014-08-21 Thread Richard Wallace
to specify the attribute for virtualbox, not the package name. So linuxPackages.virtualbox in this case. You can find the attributes with nix-env -qaP Wout. On Thu, Aug 21, 2014 at 12:02 AM, Richard Wallace rwall...@thewallacepack.net wrote: Ok, that will work if I can figure one last thing

Re: [Nix-dev] nixops No such file or directory after creation

2014-08-21 Thread Richard Wallace
setuid root so either do that manually (breaking statelessness a little) or run as root. If the version is an issue, you can override the derivation or do a pull request :-) Wout. On Aug 21, 2014 8:29 PM, Richard Wallace rwall...@thewallacepack.net wrote: Grr. Seems I spoke too soon

[Nix-dev] nixops waits forever for SSH

2014-08-21 Thread Richard Wallace
Hello again, I finally got `nixops deploy -d trivial` to create a virtualbox image and start it - I had to abandon using virtualbox from nixpkgs and instead put the VBoxManage installed by Arch on my PATH. During startup, the IP address is determined correctly and then nixops says, waiting for

Re: [Nix-dev] nixops waits forever for SSH

2014-08-21 Thread Richard Wallace
can circumvent the purity of nix-shell somewhat. On Fri, Aug 22, 2014 at 1:15 AM, Richard Wallace rwall...@thewallacepack.net wrote: Hello again, I finally got `nixops deploy -d trivial` to create a virtualbox image and start it - I had to abandon using virtualbox from nixpkgs and instead

Re: [Nix-dev] ghc-mod + nix-shell?

2014-08-20 Thread Richard Wallace
I've been struggling to get this working. I have ghc-mod installed, but it fails to see the packages I have installed when I go into nix-shell. If you did get it working, could you post your .nix file somewhere so I (and others) can take a look? Thanks, Rich On Wed, Aug 20, 2014 at 4:15 AM,

Re: [Nix-dev] nixops No such file or directory after creation

2014-08-20 Thread Richard Wallace
would be extremely happy. :) Thanks, Rich On Wed, Aug 20, 2014 at 9:46 AM, Domen Kožar do...@dev.si wrote: nix-instantiate is missing in your $PATH. On Wed, Aug 20, 2014 at 6:28 PM, Richard Wallace rwall...@thewallacepack.net wrote: Yes, sorry, I meant to do that and then completely

Re: [Nix-dev] ghc-mod + nix-shell?

2014-08-20 Thread Richard Wallace
: On 08/20/2014 05:10 PM, Richard Wallace wrote: I've been struggling to get this working. I have ghc-mod installed, but it fails to see the packages I have installed when I go into nix-shell. If you did get it working, could you post your .nix file somewhere so I (and others) can take

Re: [Nix-dev] nixops No such file or directory after creation

2014-08-20 Thread Richard Wallace
. On Aug 20, 2014 6:56 PM, Richard Wallace rwall...@thewallacepack.net wrote: Aha! Because I started with `nix-shell --pure -p nixops` none of the nix commands were in my $PATH and I didn't even realize it. That fixed it. I'd like to avoid needing to use nix-shell to use nixops, but when I try

[Nix-dev] nixops No such file or directory after creation

2014-08-19 Thread Richard Wallace
Hello all, I'm experimenting with nixops and so far am not having any luck. I've got nix installed on my Arch Linux machine and created trivial.nix and trivial-vbox.nix. $ nix-shell --pure -p nixops [nix-shell:~/Development/test/nix]$ nixops create ./trivial.nix ./trivial-vbox.nix -d

Re: [Nix-dev] Checksum error then everything builds from source

2012-12-20 Thread Richard Wallace
, Rich On Wed, Dec 19, 2012 at 5:07 PM, Richard Wallace rwall...@thewallacepack.net wrote: Hey all, I'm installing the new 1.2 from the binary tarball on a Linux x86_64 machine. When I go to install the Haskell Platform, I get a checksum error: $ nix-env -iA

Re: [Nix-dev] Checksum error then everything builds from source

2012-12-20 Thread Richard Wallace
/per-user/rwallace/channels/binary-caches/*`. So for now I'm passing the option manually. :( Any suggestions? Thanks again, Rich On Thu, Dec 20, 2012 at 3:30 PM, Shea Levy s...@shealevy.com wrote: On 12/20/2012 05:28 PM, Richard Wallace wrote: Aha. That should probably be mentioned

Re: [Nix-dev] Proper way of adding custom nix expressions

2012-11-05 Thread Richard Wallace
D'oh! Looks like I need to work on my copy-paste skills. Thanks! Rich On Mon, Nov 5, 2012 at 9:52 AM, Andres Loeh ks...@andres-loeh.de wrote: Hi Richard. pkgs : { You refer to this argument ... packageOverrides = self : rec { but you should

Re: [Nix-dev] Proper way of adding custom nix expressions

2012-11-04 Thread Richard Wallace
On Thu, Nov 1, 2012 at 12:14 AM, Andres Loeh ks...@andres-loeh.de wrote: Hi Richard. What Peter says is true. And ultimately, you should be motivated to just submit your new packages as a pull request to nixpkgs. However, I'd like to point out that there's also a somewhat less invasive way