Merge pull request #26839 from volth/fetchmavenartifact-do-not-leak-hash
fetchMavenArtifact: prevent leaking nix hash to jar name
This commit is contained in:
commit
3583fe7586
@ -67,7 +67,7 @@ in
|
|||||||
# packages packages that mention this derivation in their buildInputs.
|
# packages packages that mention this derivation in their buildInputs.
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/java
|
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
|
# We also add a `jar` attribute that can be used to easily obtain the path
|
||||||
# to the downloaded jar file.
|
# to the downloaded jar file.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user