[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

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