mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
fetchMavenArtifact: prevent leaking nix hash to jar name
This commit is contained in:
parent
ed515c8080
commit
546346849e
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user