Re: [Nix-dev] no network virtualbox install

2017-06-21 Thread Daniel Barlow
Hi Andreas, did that fix it for you? I've just run up against the same problem (or at least, the same symptoms) and in my case the problem was in the Virtualbox settings: after importing the appliance into Virtualbox I need to * go to Machine -> Settings * click the "Network" tab * open the "Adva

[Nix-dev] Feedback wanted: how to use buildMaven/mvn2nix

2017-05-10 Thread Daniel Barlow
I spent some time persuading mvn2nix and buildMaven to work for me, and wrote a blog entry with my findings. It's at https://ww.telent.net/2017/5/10/building_maven_packages_with_nix * Aside from the "repeated slashes" bug which I need to dig into and/or report to the appropriate maintainer, as a

Re: [Nix-dev] Building with default.nix

2016-08-11 Thread Daniel Barlow
Have you considered using builtins.filterSource ? I usually do something like this: let sourceFilesOnly = path: type: (lib.hasPrefix "var" (toString path)) || (lib.hasPrefix "target" (toString path)) ; in stdenv.mkDerivation { src = builtins.filterSource sourceFilesOnly ./.; # ...