[Nix-dev] Getting started with nix-build

2015-03-24 Thread Oliver Matthews
So, I'm attempting to add a plex package. I've followed the instructions in the nixpkgs manual (and cross-checked with contributing to nixpkgs on the wiki). It's all fine up until I run nix-build -A - it's going to attempt to build my package, but also goodly chunks of the full OS starting with

Re: [Nix-dev] Getting started with nix-build

2015-03-24 Thread Jeffrey David Johnson
Yeah I'd like to know this too. I suspect there's a flag for it but not sure what it would be called. Also if you're building the latext nixpkgs from github hydra might not have cought up yet. I think standard practice is to stay a few commits back so can get binaries. I asked a semi-related

[Nix-dev] Trying to compile and run mono gtk example but problem install gtksharp2

2015-03-24 Thread Paul Dufresne
I am trying to compile the GTK example on: http://www.mono-project.com/docs/getting-started/mono-basics/ Soon I discovered that I need to have gtk-sharp v.2 in my environment. Searching gtk-sharp on https://nixos.org/nixos/packages.html I concluded that I should have: In my configuration.nix I

Re: [Nix-dev] nixpkgs-unstable

2015-03-24 Thread Wout Mertens
Yes, no problem. On Tue, Mar 24, 2015, 9:34 PM Arseniy Seroka ars.ser...@gmail.com wrote: Using nixos-unstable-small I have to build locally lots of pkgs :( But can I mix nixpkgs-unstable and nixos-unstable? Using the first one for nix-env and the second one for sudo nixos-rebuild?

Re: [Nix-dev] Getting started with nix-build

2015-03-24 Thread Oliver Matthews
Peter - thanks, that's exactly what I was needing. Regards, Oliver On Tue, 24 Mar 2015 14:29:58 + Peter Simonslt;sim...@cryp.togt; wrote Hi Oliver, make sure that you're building changes relative to some version of Nixpkgs for which binary packages are already available. If

Re: [Nix-dev] Getting started with nix-build

2015-03-24 Thread Peter Simons
Hi Oliver, make sure that you're building changes relative to some version of Nixpkgs for which binary packages are already available. If you're running NixOS, for example, switch your repository to the version that you're currently running: $ git checkout -b my-patches origin/master $ git

[Nix-dev] Bit-wise identical builds

2015-03-24 Thread stewart mackenzie
Seems google released http://bazel.io/. Gaining inspiration on how they get identical bitwise builds might be interesting. /sjm ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] nixpkgs-unstable

2015-03-24 Thread Domen Kožar
use nixos-unstable-small channel if you want to move fast(er). You can't use nixpkgs channel for nixos. On Tue, Mar 24, 2015 at 9:30 PM, Arseniy Seroka ars.ser...@gmail.com wrote: Hello! Trying to use nixpkgs-unstable as main channel. jaga {0} ~ sudo nix-channel --add

Re: [Nix-dev] nixpkgs-unstable

2015-03-24 Thread Arseniy Seroka
Using nixos-unstable-small I have to build locally lots of pkgs :( But can I mix nixpkgs-unstable and nixos-unstable? Using the first one for nix-env and the second one for sudo nixos-rebuild? 2015-03-24 23:32 GMT+03:00 Domen Kožar do...@dev.si: use nixos-unstable-small channel if you want to

[Nix-dev] nixpkgs-unstable

2015-03-24 Thread Arseniy Seroka
Hello! Trying to use nixpkgs-unstable as main channel. jaga {0} ~ sudo nix-channel --add http://nixos.org/channels/nixpkgs-unstable nixos jaga {0} ~ sudo nixos-rebuild switch --upgrade downloading Nix expressions from ‘

Re: [Nix-dev] ghcWithPackages appears broken in nixpkgs HEAD?

2015-03-24 Thread Peter Simons
Hi Michael, my guess is that you've run into a design problem in GHC that causes the compiler to assign randomly differing package IDs every now and then. The result is that libraries built locally don't fit to ones downloaded from Hydra. The only way out of this mess is to garbage collect all