Merge pull request #26839 from volth/fetchmavenartifact-do-not-leak-hash

fetchMavenArtifact: prevent leaking nix hash to jar name
This commit is contained in:
Renaud 2018-10-17 09:34:34 +02:00 committed by GitHub
commit 3583fe7586
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.