Skip to content

Commit

Permalink
Fix binary for Coursier (digital-asset#13310)
Browse files Browse the repository at this point in the history
The binary should be called `cs`, the full `coursier` name causes the following error

```
/path/to/digital-asset/daml/dev-env/bin/../lib/dade-common: line 143: /nix/store/hsbnxsgqhaxavqdwmqyvcdp3ng22gvaf-coursier-2.0.16/bin/coursier: No such file or directory
```

changelog_begin
changelog_end
  • Loading branch information
stefanobaghino-da authored Mar 16, 2022
1 parent 35c5812 commit 0a92bd7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ in rec {
scalap = scala;
sbt = pkgs.sbt;

coursier = pkgs.coursier;
cs = pkgs.coursier;
# nixpkgs ships with an RC for scalafmt 2.0 that seems to be significantly slower
# and changes a lot of formatting so for now we stick to 1.5.1.
scalafmt = pkgs.callPackage ./overrides/scalafmt.nix { jre = jdk; };
Expand Down

0 comments on commit 0a92bd7

Please sign in to comment.