daml/dev-env/etc/nix.conf
Andreas Herrmann 655e4b3b55
Update CI nix version (#4443)
* Update CI nix version

For `--option http2 false` to take effect requires Nix 2.3.2.

CHANGELOG_BEGIN
CHANGELOG_END

* Set option `http2 = false` dev-env nix config

This is less likely to overlook an instance than manually adding
`--option http2 false` to each Nix invocation.

Setting `--option htt2p false` also had no effect on the multi-user Nix
installation on the Linux CI machines due to
```
WARNING: option '--disk_cache' was expanded to from both option '--config linux' (source /nix/store/2xnfb2l39d2b4nxw5vwmqz5hjwhw0caw-daml-bazelrc) and option '--config linux' (source /nix/store/2xnfb2l39d2b4nxw5vwmqz5hjwhw0caw-daml-bazelrc)
```

Co-authored-by: Andreas Herrmann <andreash87@gmx.ch>
2020-02-07 15:05:52 +00:00

20 lines
901 B
Plaintext

build-max-jobs = 2
binary-caches = https://nix-cache.da-ext.net https://cache.nixos.org
# Note: the "hydra.da-int.net" string is now part of the name of the key for
# legacy reasons; it bears no relation to the DNS hostname of the current
# cache.
binary-cache-public-keys = hydra.da-int.net-1:6Oy2+KYvI7xkAOg0gJisD7Nz/6m8CmyKMbWfSKUe03g= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.nixos.org-1:CNHJZBh9K4tP3EKF6FkkgeVYsS3ohTl+oS0Qa8bezVs=
# Keep build-time dependencies of non-garbage outputs around
gc-keep-outputs = true
gc-keep-derivations = true
# NOTE(JM): This is broken on Mac: "cannot link ... : Operation not permitted"
# auto-optimise-store = true
# NOTE(D3): This is needed in order to run nix commands on monorepo from a Docker container.
build-users-group =
# Work around sporadic segfaults. See https://github.com/digital-asset/daml/pull/4427
http2 = false