scalafmt: change deps name to invalidate negative cache on Hydra [#32442]
This commit is contained in:
parent
4859e70468
commit
0ea7ad1547
@ -4,11 +4,12 @@ let
|
||||
baseName = "scalafmt";
|
||||
version = "1.3.0";
|
||||
deps = stdenv.mkDerivation {
|
||||
name = "${baseName}-${version}-deps";
|
||||
name = "${baseName}-deps-${version}";
|
||||
buildCommand = ''
|
||||
export COURSIER_CACHE=$(pwd)
|
||||
${coursier}/bin/coursier fetch com.geirsson:scalafmt-cli_2.12:${version} > deps
|
||||
mkdir -p $out/share/java
|
||||
cp $(${coursier}/bin/coursier fetch com.geirsson:scalafmt-cli_2.12:${version}) $out/share/java/
|
||||
cp $(< deps) $out/share/java/
|
||||
'';
|
||||
outputHashMode = "recursive";
|
||||
outputHashAlgo = "sha256";
|
||||
|
Loading…
Reference in New Issue
Block a user