summary refs log tree commit diff
path: root/pkgs/development/tools/scalafmt/default.nix
diff options
context:
space:
mode:
authorFabián Heredia Montiel <fabianhjr@protonmail.com>2021-10-28 19:48:26 -0500
committerFabián Heredia Montiel <fabianhjr@protonmail.com>2021-10-28 19:48:29 -0500
commitfc6ccc25ccc31315be234e53ec6aa385107d61d7 (patch)
tree0eb19041ea37001a789086e52c7a7cb5e533f41e /pkgs/development/tools/scalafmt/default.nix
parent83fdaff9f71276d8e0b93263e2e05e1079cbabdb (diff)
downloadnixpkgs-fc6ccc25ccc31315be234e53ec6aa385107d61d7.tar
nixpkgs-fc6ccc25ccc31315be234e53ec6aa385107d61d7.tar.gz
nixpkgs-fc6ccc25ccc31315be234e53ec6aa385107d61d7.tar.bz2
nixpkgs-fc6ccc25ccc31315be234e53ec6aa385107d61d7.tar.lz
nixpkgs-fc6ccc25ccc31315be234e53ec6aa385107d61d7.tar.xz
nixpkgs-fc6ccc25ccc31315be234e53ec6aa385107d61d7.tar.zst
nixpkgs-fc6ccc25ccc31315be234e53ec6aa385107d61d7.zip
treewide: fix /bin/coursier references
After https://github.com/NixOS/nixpkgs/pull/142254 coursier provides its
binary as /bin/cs rather than /bin/coursier
Diffstat (limited to 'pkgs/development/tools/scalafmt/default.nix')
-rw-r--r--pkgs/development/tools/scalafmt/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/scalafmt/default.nix b/pkgs/development/tools/scalafmt/default.nix
index cf4faa36b55..07119dc75d6 100644
--- a/pkgs/development/tools/scalafmt/default.nix
+++ b/pkgs/development/tools/scalafmt/default.nix
@@ -7,7 +7,7 @@ let
     name = "${baseName}-deps-${version}";
     buildCommand = ''
       export COURSIER_CACHE=$(pwd)
-      ${coursier}/bin/coursier fetch org.scalameta:scalafmt-cli_2.13:${version} > deps
+      ${coursier}/bin/cs fetch org.scalameta:scalafmt-cli_2.13:${version} > deps
       mkdir -p $out/share/java
       cp $(< deps) $out/share/java/
     '';