daml/libs-haskell
Robin Krom 32ca8fb831
telemetry: use an extra cache directory for telemetry (#8439)
* telemetry: use an extra cache directory for telemetry

If the sdk's `.daml` directory is not writable, telemetry fails and
kills the IDE. We add a new assistant environment variable "DAML_CACHE".
If set, this directory is used for telemetry cache data.

Fixes #8396.

CHANGELOG_BEGIN
CHANGELOG_END

* try creating directory

* check for already existing machine id file

* set DAML_CACHE to read-only in assistant integration tests
2021-01-15 11:44:18 +01:00
..
bazel-runfiles update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
da-hs-base telemetry: use an extra cache directory for telemetry (#8439) 2021-01-15 11:44:18 +01:00
test-utils update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00