[Nix-dev] nix-daemon and private git repos

2017-07-03 Thread Harmen
gitPrivate with a sandboxed nix-daemon. Any experiences or tips? Thanks! Harmen ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] nix-daemon and private git repos

2017-07-03 Thread Harmen
On Mon, Jul 03, 2017 at 03:27:34PM +0200, Tomas Hlavaty wrote: > Hi Harmen, > > On Mon 03 Jul 2017 at 15:19, Harmen <har...@lijzij.de> wrote: > > I can't be the first to want to use fetchgitPrivate with a sandboxed > > nix-daemon. Any experiences or

[Nix-dev] nix rebuilds

2017-05-12 Thread Harmen
in the repo next to the code, so I don't refer to an external repo with a nice checksum, but like this: src = ./.; This is for a Ruby on Rails project build with bundix. Any thoughts? Thanks! Harmen ___ nix-dev mailing list nix-dev@lists.science.uu.nl https

Re: [Nix-dev] github triggered builds

2017-05-12 Thread Harmen
On Tue, May 09, 2017 at 10:44:53PM +0200, Harmen wrote: > On Tue, May 09, 2017 at 01:08:08PM +0200, Maarten Hoogendoorn wrote: > > Unfortunately this does not really help with sharing derivations that have > > been built before. > > Thanks for all the replies. Seems like I

Re: [Nix-dev] github triggered builds

2017-05-09 Thread Harmen
which has a 'shell executor' option. https://docs.gitlab.com/runner/executors/shell.html That looks like to be exactly what I need for nix based builds. Is this use-case of nix so uncommon (push-triggered builds)? Do most people go for Hydra? Thanks! Harmen > > 2017-05-09 10:02 GMT+0

Re: [Nix-dev] nix rebuilds

2017-05-12 Thread Harmen
On Fri, May 12, 2017 at 01:31:00PM +0100, Kevin Cox wrote: > On 05/12/2017 01:23 PM, Harmen wrote: > > I'm building a few ruby and node projects with nix. It works well enough, > > but > > nix does too many rebuilds, also when nothing changed. The question is: how > &g

Re: [Nix-dev] Node example?

2017-05-30 Thread Harmen
(I got a reply offlist, I'll just answer here hoping the sender doesn't mind) node2nix works fine, but I do indeed need to build some frontend, using webpack. Currently I have two errors: Npm can't download the precompiled node-webpack binary, but rebuilds it from source every time I run nix.

Re: [Nix-dev] Node example?

2017-05-31 Thread Harmen
On Wed, May 31, 2017 at 08:29:03AM +, Benno Fünfstück wrote: > Hi Harmen, > > the reason it works on your test machine but doesn't work on CI is probably > because of build sandboxing (see `build-use-sandbox` nix option: that > disables network access & access to certa

Re: [Nix-dev] drone and nix (sort of solved)

2017-06-18 Thread Harmen
On Sun, Jun 18, 2017 at 05:46:03AM +, Wout Mertens wrote: > Nice! Why is it not perfect? Idealy I would not have to do the one-time setup on every machine. But it's good enough. > > On Fri, Jun 16, 2017 at 1:21 PM Harmen <har...@lijzij.de> wrote: > > > Hi all, &g

[Nix-dev] drone and nix (sort of solved)

2017-06-16 Thread Harmen
nixchannel: # docker run -v nix:/nix/ --rm -ti nixos/nix nix-channel --update This will share the /nix directory with every build, so rebuild (and downloads!) are kept to a minimum. Maybe it helps someone. Thanks! Harmen ___ nix-dev mailing list nix

[Nix-dev] github triggered builds

2017-05-08 Thread Harmen
simpler. Hydra could work, but I'm a bit intimidated by that, and would like to have something simpler for now. The LT;DR: question: is there a simple nix based build system which can be triggered via git{hub,lab} hooks? Thanks! Harmen (If there is a better place to ask this, let me know

[Nix-dev] Node example?

2017-05-30 Thread Harmen
static html (node is only used at build time to generate the static files, it's not needed at runtime). Thanks! Harmen ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] unequal build hash

2017-07-07 Thread Harmen via nix-dev
On Fri, Jul 07, 2017 at 07:59:46AM +0200, Vladimír Čunát wrote: > On 07/06/2017 07:35 PM, Harmen via nix-dev wrote: > > Does that makes sense? Did I forget a 'name' somewhere? > > When you use things like > src = ./.; > the directory gets copied into nix store and the

Re: [Nix-dev] nix-daemon and private git repos

2017-07-06 Thread Harmen via nix-dev
, but I'll think about how to do that best. It also ties into integration and system testing, which is not just Nix related. thanks! Harmen ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] unequal build hash

2017-07-06 Thread Harmen via nix-dev
Hello all, another day, another problem :/ I'm trying to figure out why a build generates different build IDs in different contexts. I have a nix expression and some code. If I copy that from machine A to machine B they both give the same build hash. All's fine there. If on machine B I run

Re: [Nix-dev] unequal build hash

2017-07-06 Thread Harmen via nix-dev
On Thu, Jul 06, 2017 at 06:35:15PM +0200, Harmen via nix-dev wrote: > Hello all, > another day, another problem :/ > > I'm trying to figure out why a build generates different build IDs in > different > contexts. > I have a nix expression and some code. If I copy that from m