[Nix-dev] neo4j and clojure

2014-05-22 Thread Catonano
Hello people, I'm getting my feet wet with nix installed in my home folder in a Fedora box. I want to explore neo4j but it requires the Oracle java JDK that is NOT the OpenJdk I commonly use on my machine. I was wondering if nix based tech could help me. I'd love to have neo4j installed in

[Nix-dev] builtins.toPath returns ... a string?

2014-05-22 Thread Ben Doyle
I've been writing some nix functions that used `builtins.toPath`, and getting some strange error messages. That led to the following repl session: nix-repl :t /home a string nix-repl :t /home a path nix-repl :t builtins.toPath /home a string That has to be a bug, no? Or am I totally

Re: [Nix-dev] builtins.toPath returns ... a string?

2014-05-22 Thread Marc Weber
--eval-only --strict -xml output: of { s = /home; p = /home; to_p = builtins.toPath /home; } Same || ?xml version='1.0' encoding='utf-8'? || expr || attrs || attr column=3 line=3 name=p path=/tmp/test.nix || path value=/home / || /attr || attr

Re: [Nix-dev] builtins.toPath returns ... a string?

2014-05-22 Thread Kirill Elagin
The relevant commit is this: https://github.com/NixOS/nix/commit/d7efd7639420f4c840cbfdfcbbb3c45292f3ac54 Looks like `toPath` is not only obsolete, but prohibited since semantics of paths changed and now it makes no sense no convert something to a path. -- Кирилл Елагин On Thu, May 22, 2014 at

Re: [Nix-dev] neo4j and clojure

2014-05-22 Thread Catonano
oh, it's here https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/compilers/jdk thanks anyway 2014-05-22 19:06 GMT+02:00 Catonano caton...@gmail.com: Luca, 2014-05-22 16:53 GMT+02:00 Luca Bruno lethalma...@gmail.com: That's exactly nix, yes. You define your own packages, your

Re: [Nix-dev] builtins.toPath returns ... a string?

2014-05-22 Thread Shea Levy
Possibly relevant discussion: https://github.com/NixOS/nix/pull/47 On Thu, May 22, 2014 at 09:04:19PM +0400, Kirill Elagin wrote: The relevant commit is this: https://github.com/NixOS/nix/commit/d7efd7639420f4c840cbfdfcbbb3c45292f3ac54 Looks like `toPath` is not only obsolete, but prohibited