diff --git a/pkgs/build-support/build-maven.nix b/pkgs/build-support/build-maven.nix index 30df3e8e733..b9da06c43c8 100644 --- a/pkgs/build-support/build-maven.nix +++ b/pkgs/build-support/build-maven.nix @@ -16,10 +16,11 @@ infoFile: let script = writeText "build-maven-repository.sh" '' ${lib.concatStrings (map (dep: let inherit (dep) - url sha1 groupId artifactId version - authenticated metadata repository-id; + url sha1 groupId artifactId + version metadata repository-id; versionDir = dep.unresolved-version or version; + authenticated = dep.authenticated or false; fetch = (if authenticated then requireFile else fetchurl) { inherit url sha1;