Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion pkgs/build-support/fetchmavenartifact/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ args@{
# and `urls` can be specified, not both.
url ? "",
urls ? [ ],
# Metadata
meta ? { },
# The rest of the arguments are just forwarded to `fetchurl`.
...
}:
Expand Down Expand Up @@ -71,6 +73,7 @@ let
"classifier"
"repos"
"url"
"meta"
]
// {
urls = urls_;
Expand All @@ -79,7 +82,7 @@ let
);
in
stdenv.mkDerivation {
inherit pname version;
inherit pname version meta;
dontUnpack = true;
# By moving the jar to $out/share/java we make it discoverable by java
# packages packages that mention this derivation in their buildInputs.
Expand Down
Loading