git.iko.soy/typeable/nixpkgs
on master help sign in
build-maven: Handle very long dependency lists
commit03dbba975706c03f41600b174f1a50f072712d02 authorShea Levy <shea@shealevy.com> dateMon 29 Jun 2015, 13:41 (11 years ago) parent3862fd5
1 file changed+5−1
pkgs/build-support/build-maven.nix+5−1
pkgs/build-support/build-maven.nix+5−1
@@ -13,7 +13,7 @@
1313infoFile: let
1414 info = builtins.fromJSON (builtins.readFile infoFile);
1515
16− repo = runCommand "maven-repository" {} ''
16+ script = writeText "build-maven-repository.sh" ''
1717 ${lib.concatStrings (map (dep: let
1818 inherit (dep) url sha1 groupId artifactId version;
1919
@@ -25,6 +25,10 @@ infoFile: let
2525 '') info.dependencies)}
2626 '';
2727
28+ repo = runCommand "maven-repository" {} ''
29+ bash ${script}
30+ '';
31+
2832 settings = writeText "settings.xml" ''
2933 <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
3034 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"