Hi laverne, did you manage to figure it out?
I think the usage would be to run https://github.com/NixOS/mvn2nix-maven-plugin on your project and then in your default.nix add something like: ``` { pkgs ? import <nixpkgs> {} , buildMaven ? pkgs.buildMaven }: buildMaven ./infofile ``` Where the `./infofile` is the file generated by mvn2nix (it should be a JSON file). As you can see not a lot of people are packaging java apps :) Cheers, z On Fri, 10 Feb 2017 at 05:47 laverne <lists-laverne@schrock.email> wrote: > Hi, > > I have a question about the function defined at > https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/build-maven.nix > > I wanted to use it to build Spark Frame (http://sparkjava.com/), however, > while the function is in all-packages, it isn't doesn't seem to be used > anywhere else in nixpkgs. Is anyone here using the function in other > projects that they would be willing to link to so that I could get a feel > for how to use it? > > Thanks, > Laverne > _______________________________________________ > nix-dev mailing list > nix-dev@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev >
_______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev