@@ -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"