Re: [Nix-dev] NixON initiative

2016-02-28 Thread Anand Patil
JSON (builtins.readFile path); > > ​ > > On Sun, 28 Feb 2016 at 15:37 jeaye <cont...@jeaye.com> wrote: > >> On Sun, Feb 28, 2016 at 03:11:15PM +, Anand Patil wrote: >> > What about using some kind of JSON notation for this? There are some >> > mismatches be

Re: [Nix-dev] NixON initiative

2016-02-28 Thread Anand Patil
What about using some kind of JSON notation for this? There are some mismatches between JSON and Nix primitives; but on the other hand JSON is easy to parse and generate from every language, and many people are familiar with it. On Sun, Feb 28, 2016, 9:54 AM deCube.net | Danny Wilson

Re: [Nix-dev] AppImage

2016-02-27 Thread Anand Patil
Having only read the front page, it looks like it could be complementary to Nix. You could develop and build in Nix for reproducibility, efficiency and completeness. Then, for portable deployment, you could run nix2appimage or else include AppImageKit in a derivation and write the AppImage to

Re: [Nix-dev] Debugging callPackage builds?

2016-02-26 Thread Anand Patil
... And anyway, the problem I was trying to debug turned out to be the GHC library ID bug. :) On Fri, Feb 26, 2016 at 10:11 AM Anand Patil < anand.prabhakar.pa...@gmail.com> wrote: > Never mind, figured it out: nix-shell ./nixpkgs -A > packages.haskell.compiler.ghcjs . I was conf

Re: [Nix-dev] Debugging callPackage builds?

2016-02-26 Thread Anand Patil
Never mind, figured it out: nix-shell ./nixpkgs -A packages.haskell.compiler.ghcjs . I was confused because nix-shell ./nixpkgs/pkgs/development/compilers/ghcjs was complaining that it didn't have default values for all the arguments. Anand On Thu, Feb 25, 2016 at 7:18 PM Anand Patil

[Nix-dev] Debugging callPackage builds?

2016-02-25 Thread Anand Patil
Hi everyone, I'm trying to debug https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/ghcjs/default.nix , which is a callPackage-style Nix function that expects lots of arguments. Is there a quick way to get a nix-shell or other type of debugging environment for such a package?

Re: [Nix-dev] Building Elm with Nix?

2016-02-23 Thread Anand Patil
/development/compilers/elm/default.nix > > [2] https://nixos.org/wiki/Contributing_to_Nix_documentation > > > > > > On Tue, Feb 23, 2016 at 5:56 AM, Anand Patil > > <anand.prabhakar.pa...@gmail.com> wrote: > > > Hi everyone, > > > > > > Does anyone have a system wor

[Nix-dev] Building Elm with Nix?

2016-02-22 Thread Anand Patil
Hi everyone, Does anyone have a system worked out for building Elm projects and managing their dependencies with Nix? It looks like an elmWithPackages was developed in 2013, http://comments.gmane.org/gmane.comp.lang.elm.general/648, but it doesn't seem to have been merged. Cheers, Anand

Re: [Nix-dev] Real documentation, aka "Let's kill the wiki"

2015-11-27 Thread Anand Patil
On Sat, Nov 28, 2015 at 12:12 AM Joachim Schiele <j...@lastlog.de> wrote: > did you have a look at https://nixcloud.io/tour/?id=1 already? > > On 27.11.2015 22:40, Anand Patil wrote: > > Hi everyone, > > > > I've been learning NixOS over the last few days, an

Re: [Nix-dev] Real documentation, aka "Let's kill the wiki"

2015-11-27 Thread Anand Patil
Hi everyone, I've been learning NixOS over the last few days, and Luca Bruno's NixOS pills series, http://lethalman.blogspot.com/2014/07/nix-pill-1-why-you-should-give-it-try.html , have helped me progress much more quickly than I would have done without them. It took me a surprisingly long time

Re: [Nix-dev] Possible bug in ssh key module

2015-05-11 Thread Anand Patil
Hi Bas, yep, it was just that. Sorry for the false alarm. Thanks, Anand On Mon, May 11, 2015 at 12:52 AM, Bas van Dijk v.dijk@gmail.com wrote: On 11 May 2015 at 04:45, Anand Patil anand.prabhakar.pa...@gmail.com wrote: Hi everyone, Just wanted to point out a small possible bug in NixOS

Re: [Nix-dev] Possible bug in ssh key module

2015-05-10 Thread Anand Patil
, Anand Patil anand.prabhakar.pa...@gmail.com wrote: Hi everyone, Just wanted to point out a small possible bug in NixOS version 15.05pre61966.75ebc3c (Dingo). I noticed that when I add an authorizedKeys option to my user like so: openssh.authorizedKeys.keys = [ ssh-rsa stuff

[Nix-dev] Possible bug in ssh key module

2015-05-10 Thread Anand Patil
Hi everyone, Just wanted to point out a small possible bug in NixOS version 15.05pre61966.75ebc3c (Dingo). I noticed that when I add an authorizedKeys option to my user like so: openssh.authorizedKeys.keys = [ ssh-rsa stuff ]; the contents of /etc/ssh/authorized_keys.d/anand look like