Re: [Nix-dev] Node example?

2017-05-31 Thread Profpatsch
On 17-05-31 08:29am, Benno Fünfstück wrote: > 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 certain FS paths for nix builders). btw can we please finally enab

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 certain FS paths for nix build

Re: [Nix-dev] Node example?

2017-05-31 Thread Benno Fünfstück
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 certain FS paths for nix builders). Regards, Benno Harmen schrieb am Di., 30. Mai 2017 um 21:33 Uhr:

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

[Nix-dev] Node example?

2017-05-30 Thread Harmen
Hi all, does anyone have an example of a nix expression to build a (react based) nodejs project? I'm having some problems with writing the nix expression and can't really formulate a proper question, but maybe some good example will help me on my way. Ideally something which uses webpack to build