-
Notifications
You must be signed in to change notification settings - Fork 16
/
daml.yaml
47 lines (45 loc) · 2.58 KB
/
daml.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Copyright (c) 2024 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# If sdk-version or daml-version is changed, please run bin/update-daml-hashes
# to keep shell.nix in sync (CI will notice & fail)
# You need to comment out `daml` from the `buildInputs` list to get your Nix shell to run while you
# update the hashes. The sdk-version refers to the release folder names (or tags) found here:
# https://github.com/digital-asset/daml/releases
# For example 2.9.0-rc1 (in case of a release candidate) or 2.8.0 (for a regular release)
sdk-version: 2.10.0-snapshot.20241217.13156.0.v1da3a35b
# daml-version is not used by the daml assistant, only by the finance nix config
# It refers to the version number of the files of the release folder.
# For example, if you use a release candidate like:
# https://github.com/digital-asset/daml/releases/tag/v2.9.0-rc1
# the daml-version would be: 2.9.0-snapshot.20240619.12850.0.v0cfddd39
# On the other hand, if you use a regular release like:
# https://github.com/digital-asset/daml/releases/tag/v2.8.0
# the daml-version would simply be: 2.8.0
daml-version: 2.10.0-snapshot.20241217.13156.0.v1da3a35b
# To use a custom daml, you must update the sdk-version across the project to that of the tar you have (likely 0.0.0)
# daml-version above will be ignored
# and uncomment the below tar path to point to your release tar.
# You can generate this tar from the daml repo (in sdk/) using `bazel build //release:sdk-release-tarball`
# which will generate the tar at <daml>/sdk/bazel-bin/release/sdk-release-tarball-ce.tar.gz
# Be sure to run bin/update-daml-hashes after adding or changing this path, and on rebuild
# NOTE: This must be an absolute path to the release tarball.
# daml-tar-path: <daml>/sdk/bazel-bin/release/sdk-release-tarball-ce.tar.gz
name: daml-finance
source: src/test/daml
# version is independent of the actual sdk-version. It is used to create an assembly artifact here
# https://digitalasset.jfrog.io/ui/repos/tree/General/assembly/daml-finance which is referenced by
# docs.daml.com (in the docs/<sdk-version>/version.json files). The purpose of having an independent
# version number is to allow the release of new assembly versions without waiting for a new SDK
# release. For each new SDK release, we increment the minor version of the assembly.
version: 1.6.0
dependencies:
- daml-prim
- daml-stdlib
- daml-script-lts
data-dependencies:
- .lib/daml-ctl/v2.4.1/daml-ctl-2.4.1.dar
build-options:
- --include=src/main/daml
- --target=1.17
- -Wno-upgrade-interfaces
- -Wno-upgrade-exceptions