Skip to content

Commit

Permalink
added tip/hack on how to get build working first time on mac (thx mor… (
Browse files Browse the repository at this point in the history
digital-asset#1693)

* added tip/hack on how to get build working first time on mac (thx morritz)

* fix da-sdk-head -> daml-sdk-head
  • Loading branch information
sofusmortensen authored and cocreature committed Jun 17, 2019
1 parent 8cd1bc7 commit 3cfa0f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,11 @@ We have a single script to build most targets and run the tests. On Linux and Ma

To just build do `bazel build //...`, and to just test do `bazel test //...`. To read more about Bazel and how to use it, see [the Bazel site](https://bazel.build).

On Mac if building is causing trouble complaining about missing nix packages, you can try first running `nix-build -A tools -A cached nix` repeatedly until it completes without error.

### 4. Installing a local copy

On Linux and Mac run `da-sdk-head` which installs a version of the SDK with version number `0.0.0`. Set the `version:` field in any DAML project to 0.0.0 and it will use the locally installed one.
On Linux and Mac run `daml-sdk-head` which installs a version of the SDK with version number `0.0.0`. Set the `version:` field in any DAML project to 0.0.0 and it will use the locally installed one.

On Windows:

Expand Down

0 comments on commit 3cfa0f7

Please sign in to comment.