Re: [Nix-dev] yet another npm2nix reengineering attempt

2016-03-07 Thread Wout Mertens
Great job Sander! Some thoughts: - Node 5 layout is Node 4 compatible, so why not use only that? - You can symlink the first level of modules instead of the modules themselves to avoid the commonjs derefence thing. So a combination of modules becomes a shallow copy. - npm2nix

Re: [Nix-dev] Open source team messaging: mattermost

2016-03-07 Thread Matej Cotman
Do we even need to have this talk? I thought till now that every opensource developer has to be in communication on freenode, there are just so many projects on it. Btw i am using irc through browser- weechat+glowing bear, easy setup for opensource dev, and I am using slack for work and its

Re: [Nix-dev] Open source team messaging: mattermost

2016-03-07 Thread Wout Mertens
After having used Slack and Discord for a while, I can tell you that having the recent chat log available with a quick scroll up is very handy. Conversations can continue over a longer period of time. With IRC, you have to open your client, fire off your question a few times and hope that someone

[Nix-dev] Import remote packages in NixOps/NixOS

2016-03-07 Thread Eric Sagnes
It is possible to import foreign modules in NixOps by doing: ``` { network.description = "Web server"; webserver = { config, pkgs, ... }: let myModuleSrc = (import {}).fetchFromGitHub { owner = "me"; repo = "myModule"; rev= "v1.0";

Re: [Nix-dev] NixOS 16.03 channel available for testing

2016-03-07 Thread Vladimír Čunát
On 03/07/2016 06:28 PM, Vladimír Čunát wrote: > It seems the URL needed is https://nixos.org/channels/nixos-16.03-beta Ah, I'm sorry, I didn't update this e-mail directory :-) smime.p7s Description: S/MIME Cryptographic Signature ___ nix-dev mailing

Re: [Nix-dev] NixOS 16.03 channel available for testing

2016-03-07 Thread Vladimír Čunát
On 03/07/2016 01:36 PM, Domen Kožar wrote: > $ nix-channel --add https://nixos.org/channels/nixos-16.03 nixos It seems the URL needed is https://nixos.org/channels/nixos-16.03-beta BTW, (preliminary) release notes are e.g. at:

Re: [Nix-dev] JAVA_HOME and other environment variables

2016-03-07 Thread zimbatm
If the given programs are packaged with nix then it shouldn't be an issue but I agree that for starting random programs it's not ideal. Maybe the solution it to make it dead easy to wrap a Java program in a derivation ? On Mon, 7 Mar 2016 at 01:51 Svein Ove Aas wrote: > That's

Re: [Nix-dev] NixOS 16.03 channel available for testing

2016-03-07 Thread Eelco Dolstra
Hi, On 07/03/16 16:29, Domen Kožar wrote: > Maybe the version should be 16.03-beta? Good idea, done. -- Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/ ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] NixOS 16.03 channel available for testing

2016-03-07 Thread Domen Kožar
Maybe the version should be 16.03-beta? On Mon, 7 Mar 2016, 15:18 Eelco Dolstra, wrote: > Hi, > > On 07/03/16 13:36, Domen Kožar wrote: > > > 16.03 release channel has been generated, so you're all welcome to test > and > > report any issues: > > > > $

Re: [Nix-dev] NixOS 16.03 channel available for testing

2016-03-07 Thread Eelco Dolstra
Hi, On 07/03/16 13:36, Domen Kožar wrote: > 16.03 release channel has been generated, so you're all welcome to test and > report any issues: > > $ nix-channel --add https://nixos.org/channels/nixos-16.03 nixos I've renamed this channel to https://nixos.org/channels/nixos-16.03-testing to

[Nix-dev] NixOS 16.03 channel available for testing

2016-03-07 Thread Domen Kožar
Hi all, 16.03 release channel has been generated, so you're all welcome to test and report any issues: $ nix-channel --add https://nixos.org/channels/nixos-16.03 nixos $ nixos-rebuild switch --upgrade Domen ___ nix-dev mailing list

Re: [Nix-dev] How to delete old generations and GC them, without GCing anything else?

2016-03-07 Thread Matthias Beyer
Well it seems that making shell environments persistent is a more valuable idea... Thanks for your input, though! On 06-03-2016 16:34:16, Vladimír Čunát wrote: > On 03/06/2016 02:14 PM, Kosyrev Serge wrote: > > Vladimír Čunát writes: > >> On 03/06/2016 01:10 PM, Matthias Beyer