[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 10-powerline-symbol

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

2015-10-05 Thread Richard Wallace
. > 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" > wrote: > > > > Hey folks, > > > >

[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 < https://github.com/karma-runner/karma-phantomjs-launcher/issues/31

[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 released.

Re: [Nix-dev] systemd stdout logging

2015-06-28 Thread Richard Wallace
my > services log to journalctl. 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 wit

[Nix-dev] systemd stdout logging

2015-06-27 Thread Richard Wallace
I've got a service that I'm deploying with nixops. I've got a systemd service configured systemd.services.hiplambda = { description = "HipLambda"; wantedBy = [ "multi-user.target" ]; after = [ "network.target" ]; requires = [ "postgresql.service" ]; env

[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
How would that be used here? On Tue, Jun 16, 2015 at 1:09 PM, Tomas Hlavaty 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 > _

Re: [Nix-dev] nixops virtualbox disk size

2015-06-16 Thread Richard Wallace
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

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

[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 ‘/nix/store/5a1flswypn2dsgdb4kcjv5f64811yshz-gnutls-

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 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 http://localhost:808

[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 otherwise.

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

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

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

[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 12456.46 MiB freed by hard-linking 881561 files $ du -hs /nix/store/ 23G /nix/store/ Does the auto linking also happen if y

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 wrote: > Hey folks, > > I'm having an issue with HaskellNG. I

[Nix-dev] HaskellNG Binaries not linking correctly

2015-02-04 Thread Richard Wallace
Hey folks, I'm having an issue with HaskellNG. I have a project that provides a library and a binary. My cabal and nix files are here < https://gist.github.com/purefn/21e392eb3bc2639db530>. When I run `nix-build hiberico.nix`, everything completes. But when I try and run it, I get /nix/store/p

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 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 somet

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

[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 ‘/nix/store/w0h5i10nvrydh6q91rnn7mj5bbnwg7p2-haskell-hiberico-1/bin/hiberico

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 {}).pkgs; (haskellngPackages.callPackage ./. {}).env To add overrides, you would do something

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 {}).pkgs; | let | modifiedHaskellPackages = haskellngPackages.override { | overrides

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 packag

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/store/zyxd5g7ppxqbp9dhlz41vdjaki351a8w-haskell-cabal-test-qu

[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 wrote: > Hi all, > > My employer, Zalora, has made our darwin binary cache > http://zalora-public-nix-cache.s3-we

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

2014-12-10 Thread Richard Wallace
Oh nevermind. I see what is going on now and the broken OS X build machine does explain it. Thanks. On Wed, Dec 10, 2014 at 10:25 AM, Richard Wallace < rwall...@thewallacepack.net> wrote: > That's odd, because I built this project on an OS X machine a few weeks > ago and I defin

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 wrote: > Hi, > > On 09/12/14 23:47, Richard Wallace wr

[Nix-dev] cache.nixos.org retention

2014-12-09 Thread Richard Wallace
Hey all, I'm just wondering what the retention policy is on cache.nixos.org. I just went to build a project on a new OS X machine that is using a nixpkgs from a few weeks ago. I was surprised to see that many basic packages like zlib, gnu tools, perl and a bevy of others weren't fetched from the

Re: [Nix-dev] batti not showing icons in tray

2014-12-06 Thread Richard Wallace
atti (try nix-env or systemPackages). > > On Sun, Dec 7, 2014 at 1:04 AM, Richard Wallace < > rwall...@thewallacepack.net> wrote: > >> Hi all, >> >> I use a minimal desktop with xmonad and I'm trying to find a replacement >> for xfce4-power-manager since

[Nix-dev] batti not showing icons in tray

2014-12-06 Thread Richard Wallace
Hi all, I use a minimal desktop with xmonad and I'm trying to find a replacement for xfce4-power-manager since it no longer supports regular system trays. I decided to give batti a try, but the icon in the tray doesn't display properly. Normally I would fix this myself, but when I went to look I

[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 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 > throw err

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 out

[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] 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 auto-gener

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

Re: [Nix-dev] Trouble with pygobject

2014-10-31 Thread Richard Wallace
o, GdkPixbuf, Gio, GLib ImportError: cannot import name 'Gtk' so, progress, I guess? Rich On Fri, Oct 31, 2014 at 2:55 PM, Luca Bruno wrote: > What pygobject are using? Please write down the .nix expression. > > On Fri, Oct 31, 2014 at 10:45 PM, Richard Wallace < &g

Re: [Nix-dev] Trouble with pygobject

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

[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 `Impor

[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

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, >> > >

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

2014-10-16 Thread Richard Wallace
On Thu, Oct 16, 2014 at 2:55 PM, Mateusz Kowalczyk 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 a project of > > ours to be built with nix. One obstacle I've ru

[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] ghc not able to find libz.so

2014-10-14 Thread Richard Wallace
ore > > http://comments.gmane.org/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: >

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

Re: [Nix-dev] Seg fault on Arch

2014-10-13 Thread Richard Wallace
Oh! Google completely let me down on this one. :( Many thanks! On Mon, Oct 13, 2014 at 10:02 AM, Wout Mertens wrote: > Unset your LD_LIBRARY_PATH and vote for > https://github.com/NixOS/nix/pull/366 . > > Wout. > > On Oct 13, 2014 6:42 PM, "Richard Wallace" >

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

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

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

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 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 mo

Re: [Nix-dev] Developing with older packages

2014-09-08 Thread Richard Wallace
On Mon, Sep 8, 2014 at 9:03 AM, Mateusz Kowalczyk 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 i

[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] nixops waits forever for SSH

2014-08-22 Thread Richard Wallace
ad of 192.168.56.1. Once I changed that, nixops was able to connect to ssh and started building. It's looking good now! Thanks everyone for the help! Rich On Fri, Aug 22, 2014 at 10:19 AM, Richard Wallace < rwall...@thewallacepack.net> wrote: > Ok, there is a vboxnet0 but it does not

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 wrote: > Hi, > > On 22/08/14 01:19, Luca Bruno wrote: > > > Try disabling the firewall in the nixos configuration. > > Port 22 is open in the f

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

2014-08-21 Thread Richard Wallace
#x27;ll put in the PATH. That way I 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 virtua

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

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

2014-08-21 Thread Richard Wallace
nstalled by nixpkgs doesn't get 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 Wallac

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

2014-08-21 Thread Richard Wallace
, Richard Wallace < rwall...@thewallacepack.net> wrote: > Wout, > > That did the trick! Having some issues getting VBoxManage to work (either > inside the nix-shell or outside of it), but once that's fixed I'll be good > to go. > > Thanks for all the help! >

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

2014-08-21 Thread Richard Wallace
have 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: > &

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

2014-08-20 Thread Richard Wallace
nixos --command nixops"? > > Wout. > On Aug 20, 2014 6:56 PM, "Richard Wallace" > 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. >> &

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

2014-08-20 Thread Richard Wallace
14 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

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

2014-08-20 Thread Richard Wallace
f someone could tell me how to fix that I would be extremely happy. :) Thanks, Rich On Wed, Aug 20, 2014 at 9:46 AM, Domen Kožar wrote: > nix-instantiate is missing in your $PATH. > > > On Wed, Aug 20, 2014 at 6:28 PM, Richard Wallace < > rwall...@thewallacepack.net> wrote: &g

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

2014-08-20 Thread Richard Wallace
/lib/python2.7/subprocess.py", line 1327, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory On Wed, Aug 20, 2014 at 9:26 AM, Eelco Dolstra wrote: > Hi, > > On 20/08/14 18:21, Richard Wallace wrote: > > > It looks like there is a py

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

2014-08-20 Thread Richard Wallace
I uploaded the output of running strace < https://dl.dropboxusercontent.com/u/58651521/nixops-strace.txt>. It looks like there is a python library that isn't being found. Not sure why that would be though. Any ideas? Thanks, Rich On Wed, Aug 20, 2014 at 1:14 AM, Eelco Dolstra wrote: > Hi, >

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, Ma

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

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

2012-12-20 Thread Richard Wallace
On Thu, Dec 20, 2012 at 4:28 PM, Shea Levy wrote: > On 12/20/2012 06:16 PM, Richard Wallace wrote: > > Cool. Although I admit I'm still a bit lost on where the nix.conf file is > supposed to go. I tried every location I could think of for the `prefix` > in `prefix/nix/n

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

2012-12-20 Thread Richard Wallace
files/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 wrote: > On 12/20/2012 05:28 PM, Richard Wallace wrote: > > Aha. That should probably be mentioned

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

2012-12-20 Thread Richard Wallace
he case with nix 1.1. [1] http://hydra.nixos.org/build/3540507/download/1/manual/#idp15104 On Thu, Dec 20, 2012 at 2:51 PM, Eelco Dolstra wrote: > Hi, > > On 20/12/12 22:46, Richard Wallace wrote: > > > Oh, that was the problem. I checked after doing `nix-channel --update`

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

2012-12-20 Thread Richard Wallace
Dolstra wrote: > Hi, > > On 20/12/12 21:21, Richard Wallace wrote: > > > Strange, today I retried from scratch and I no longer see any checksum > errors. > > Instead, it just goes straight to building everything from source. > > > > I'm completley stuck at

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

2012-12-20 Thread Richard Wallace
is one. Thanks, 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 g

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 wrote: > Hi Richard. > > > pkgs : { > > > You refer to this argument ... > > > packageOverrides = self : rec { > > > but you should refer to t

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 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 to test your o

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

2012-11-02 Thread Richard Wallace
Thanks Andres. This is what I was looking for. I tried something similar but got caught up with it picking up the dependencies. Rich On Thu, Nov 1, 2012 at 12:14 AM, Andres Loeh wrote: > Hi Richard. > > What Peter says is true. And ultimately, you should be motivated to > just submit your new

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

2012-10-31 Thread Richard Wallace
This works well. I found that if I didn't have the channel added, it was building everything from scratch. So I also added the channel and then nix-env picked up the binaries correctly and picked up my added package. Is this ok? Just want to make sure I'm not going to run into something terribl

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

2012-10-31 Thread Richard Wallace
ra effort that I > would like to be able to avoid. > > Daniel > > > On Wed, Oct 31, 2012 at 6:51 PM, Richard Wallace > wrote: >> >> Thanks, I think I'll give this a try. hack-nix is more comprehensive, >> but I'd like to see if I can contribute

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

2012-10-31 Thread Richard Wallace
Thanks, I think I'll give this a try. hack-nix is more comprehensive, but I'd like to see if I can contribute to the community. On Wed, Oct 31, 2012 at 2:01 PM, Peter Simons wrote: > Hi Richard, > > > It seems like ~/.nix-defexpr is the place I should add anything custom. > > yes, that is true.

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

2012-10-30 Thread Richard Wallace
I've got almost everything setup for my Haskell project, but there's one last thing I need help figuring out. There are several packages in cabal that aren't in nixpkgs (boomerang, web-routes, lens) that I would like to use. It seems like ~/.nix-defexpr is the place I should add anything custom.

Re: [Nix-dev] Nix profiles

2012-10-30 Thread Richard Wallace
On Tue, Oct 30, 2012 at 2:23 PM, Vladimír Čunát wrote: > On 10/30/2012 09:50 PM, Richard Wallace wrote: >> >> I would have tried that, but after switching to a new profile none of >> the nix commands were available. I installed using the generic x86_64 >> tarball,

Re: [Nix-dev] Nix profiles

2012-10-30 Thread Richard Wallace
Tue, Oct 30, 2012 at 1:47 PM, Shea Levy wrote: > On 10/30/2012 04:34 PM, Richard Wallace wrote: >> >> I'm still trying to get to grips with a few things about nix, but it's >> getting much clearer and I definitely like what I see so far. >> >> My next ques

[Nix-dev] Nix profiles

2012-10-30 Thread Richard Wallace
I'm still trying to get to grips with a few things about nix, but it's getting much clearer and I definitely like what I see so far. My next question is about profile management. There is `nix-env --switch-profile` to switch from one profile to another, but I don't see a way to list available pro

Re: [Nix-dev] Picking a GHC version to use

2012-10-30 Thread Richard Wallace
e: > On 10/30/2012 05:29 PM, Richard Wallace wrote: >> >> Ok, I guess I'm just not sure how to specify the compiler version. >> When I ran `nix-env -qa | grep cabal-dev` after adding the .nix file >> and modifying haskell-packages.nix, I saw something like 6 >>

Re: [Nix-dev] Problem installing nix 1.1

2012-10-30 Thread Richard Wallace
On Tue, Oct 30, 2012 at 1:01 PM, Michael Raskin <7c6f4...@mail.ru> wrote: >>I'm trying to install nix on a new machine. It's running Arch so I >>decided to use the generic x86_64 binary distribution. I ran through >>the steps for using it from a single non-root user account. >> >>rwallace:~$ cd /

[Nix-dev] Problem installing nix 1.1

2012-10-30 Thread Richard Wallace
I'm trying to install nix on a new machine. It's running Arch so I decided to use the generic x86_64 binary distribution. I ran through the steps for using it from a single non-root user account. rwallace:~$ cd / rwallace:/$ sudo tar -jxvf ~/Downloads/nix-1.1-x86_64-linux.tar.bz2 [sudo] password

Re: [Nix-dev] Picking a GHC version to use

2012-10-30 Thread Richard Wallace
On Tue, Oct 30, 2012 at 12:41 AM, Andres Loeh wrote: > Hi Richard. > > I've tried to summarize most of the relevant information a while ago > on the page http://nixos.org/wiki/Haskell > Oh cool. I think I saw that a week ago but completely missed it last night when actually trying out nix. Looks

[Nix-dev] Picking a GHC version to use

2012-10-29 Thread Richard Wallace
Hello all, I'm trying out nix for managing installed Haskell packages because I heard it was really nifty. I'm having a bit of a problem. Probably I'm just a bit confused about how nix works, but I've been through the docs and couldn't find an answer to my question. I've installed the haskell-p