From 546346849e489054bc9107c55037ebf7f514de89 Mon Sep 17 00:00:00 2001 From: Volth Date: Sun, 25 Jun 2017 12:25:01 +0000 Subject: [PATCH] fetchMavenArtifact: prevent leaking nix hash to jar name --- pkgs/build-support/fetchmavenartifact/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/fetchmavenartifact/default.nix b/pkgs/build-support/fetchmavenartifact/default.nix index a9c53249ae81..dc48a312fb37 100644 --- a/pkgs/build-support/fetchmavenartifact/default.nix +++ b/pkgs/build-support/fetchmavenartifact/default.nix @@ -67,7 +67,7 @@ in # packages packages that mention this derivation in their buildInputs. installPhase = '' mkdir -p $out/share/java - ln -s ${jar} $out/share/java + ln -s ${jar} $out/share/java/${artifactId}-${version}.jar ''; # We also add a `jar` attribute that can be used to easily obtain the path # to the downloaded jar file.