fetchMavenArtifact: prevent leaking nix hash to jar name

This commit is contained in:
Volth 2017-06-25 12:25:01 +00:00
parent ed515c8080
commit 546346849e

View File

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