This commit is contained in:
Tim Steinbach
2016-10-31 10:23:22 -04:00
parent 38e762c6d1
commit f23c44516c
6 changed files with 164 additions and 138 deletions

View File

@@ -4,10 +4,12 @@
with builtins;
with lib;
stdenv.mkDerivation rec {
let
mavenMinimal = import ./maven-minimal.nix { inherit pkgs lib stdenv maven; };
in stdenv.mkDerivation rec {
inherit mavenDeps src name meta m2Path;
flatDeps = unique (flatten (mavenDeps ++ pkgs.javaPackages.mavenPlugins.mavenMinimal));
flatDeps = unique (flatten (mavenDeps ++ mavenMinimal.mavenMinimal));
propagatedBuildInput = [ maven ] ++ flatDeps;