daml/libs-haskell/da-hs-base
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
..
src telemetry: use an extra cache directory for telemetry (#8439) 2021-01-15 11:44:18 +01:00
tests telemetry: use an extra cache directory for telemetry (#8439) 2021-01-15 11:44:18 +01:00
BUILD.bazel telemetry: use an extra cache directory for telemetry (#8439) 2021-01-15 11:44:18 +01:00
da-hs-base.cabal HOTFIX bump versions for Haskell LF libraries (#8287) 2020-12-17 17:41:09 +11:00
LICENSE open-sourcing daml 2019-04-04 09:33:38 +01:00
README.md open-sourcing daml 2019-04-04 09:33:38 +01:00

Base library for DA Haskell code

The libraries provided by Hackage adapted to the needs of DA.

The intention of this version of this library published as part of Simon Meier's HaskellerZ talk on 2016-01-27 is that it serves as an inspirational source for how to adapt Hackage to a company's needs. DA currently does not plan to provide an officially supported version of this library. However, we very much encourage people to take and reshape this code into a library that allows to share this kind of Hackage-adaption-code.

Slides Video