daml/dev-env/bin
dylant-da 845b486e56
Add test-daml-version-and-install script, fix more updating issues (#17599)
* Add test-daml-version-and-install script, fix more updating issues

* Test `daml install`, improve checks for snapshots.txt

run-full-compat: true

* bring diff into scope for test-daml-version-and-install.sh

* Use runfiles to locate daml in test-daml-version-and-install.sh

* Bound versions.is_at_least("2.7.5") for test-daml-version-and-install.sh

run-full-compat: true

* Add logged diffing to diagnose issue

run-full-compat: true

* Add diff to data of test-daml-version-and-install.sh

run-full-compat: true

* Fix `daml install` call breaking - cache should still be refreshed

* Address minor issues: Daml 10.x.y matching, quoting, wrong comment

run-full-compat: true

* Drop printing

* Improve logging for test-daml-version-and-install.sh

* Fix undercased variable name DAML_CACHE, rerun CI

run-full-compat: true

* disable on windows

run-full-compat: true
2023-10-24 11:48:11 +00:00
..
aws target s3 bucket with docs refresh script (#1287) 2019-05-21 22:26:07 +00:00
az Drop dependency on hosted nodes (#12901) 2022-02-14 02:49:38 +01:00
base64 open-sourcing daml 2019-04-04 09:33:38 +01:00
bazel open-sourcing daml 2019-04-04 09:33:38 +01:00
bazel-deps open-sourcing daml 2019-04-04 09:33:38 +01:00
bc add daily perf report (#5843) 2020-05-06 13:50:35 +02:00
bq open-sourcing daml 2019-04-04 09:33:38 +01:00
buf Introduce buf checks [KVL-980] (#10411) 2021-07-27 16:23:39 +02:00
cabal2nix open-sourcing daml 2019-04-04 09:33:38 +01:00
cc Dev env fixes (#232) 2019-04-04 16:46:06 -04:00
chromedriver open-sourcing daml 2019-04-04 09:33:38 +01:00
circo open-sourcing daml 2019-04-04 09:33:38 +01:00
convert open-sourcing daml 2019-04-04 09:33:38 +01:00
cram open-sourcing daml 2019-04-04 09:33:38 +01:00
cs Fix binary for Coursier (#13310) 2022-03-16 15:30:07 +01:00
curl Dev env fixes (#232) 2019-04-04 16:46:06 -04:00
da-ghci Further copyright updates (#12249) 2022-01-04 16:32:17 +01:00
da-ghcid Further copyright updates (#12249) 2022-01-04 16:32:17 +01:00
da-hls Replace cd .. && pwd with readlink -f (#17152) 2023-07-19 12:54:33 +00:00
da-install-git-hooks open-sourcing daml 2019-04-04 09:33:38 +01:00
da-test-haskell-update-expected Replace cd .. && pwd with readlink -f (#17152) 2023-07-19 12:54:33 +00:00
da-update-python-srcs open-sourcing daml 2019-04-04 09:33:38 +01:00
da-virtualenv open-sourcing daml 2019-04-04 09:33:38 +01:00
dade Replace cd .. && pwd with readlink -f (#17152) 2023-07-19 12:54:33 +00:00
dade-assist Replace cd .. && pwd with readlink -f (#17152) 2023-07-19 12:54:33 +00:00
dade-closure-size Replace cd .. && pwd with readlink -f (#17152) 2023-07-19 12:54:33 +00:00
dade-collect-garbage Replace cd .. && pwd with readlink -f (#17152) 2023-07-19 12:54:33 +00:00
dade-copyright-headers add lf extension to copyright script (#12259) 2022-01-04 16:49:01 +00:00
dade-env Replace cd .. && pwd with readlink -f (#17152) 2023-07-19 12:54:33 +00:00
dade-freeze Replace cd .. && pwd with readlink -f (#17152) 2023-07-19 12:54:33 +00:00
dade-help hunt down DAML better (#13195) 2022-03-08 17:04:58 +01:00
dade-init Replace cd .. && pwd with readlink -f (#17152) 2023-07-19 12:54:33 +00:00
dade-list Replace cd .. && pwd with readlink -f (#17152) 2023-07-19 12:54:33 +00:00
dade-list-broken-symlinks open-sourcing daml 2019-04-04 09:33:38 +01:00
dade-pipenv-lock open-sourcing daml 2019-04-04 09:33:38 +01:00
dade-preload Replace cd .. && pwd with readlink -f (#17152) 2023-07-19 12:54:33 +00:00
dade-prepare-for-update open-sourcing daml 2019-04-04 09:33:38 +01:00
dade-release-tool Replace cd .. && pwd with readlink -f (#17152) 2023-07-19 12:54:33 +00:00
daml-docker-head tag the docker image build locally (#8760) 2021-02-05 11:07:07 +01:00
daml-sdk-head Add --ghc-repo-override flag to override GHC used in daml-sdk-head build (#14238) 2022-06-21 14:26:34 +01:00
data-uri open-sourcing daml 2019-04-04 09:33:38 +01:00
date use coreutils date on macos (#9228) 2021-03-24 13:35:02 +01:00
diff Add test-daml-version-and-install script, fix more updating issues (#17599) 2023-10-24 11:48:11 +00:00
docker-credential-gcloud Use Distroless for the Java Docker base image. (#6537) 2020-06-30 12:01:43 +00:00
docker-credential-gcr add docker-credential-gcr to dev-env (#1533) 2019-06-05 19:36:31 -04:00
dot open-sourcing daml 2019-04-04 09:33:38 +01:00
fdp open-sourcing daml 2019-04-04 09:33:38 +01:00
find dev-env: Add xargs. (#7769) 2020-10-21 13:00:19 +00:00
flake8 open-sourcing daml 2019-04-04 09:33:38 +01:00
fsc open-sourcing daml 2019-04-04 09:33:38 +01:00
gawk open-sourcing daml 2019-04-04 09:33:38 +01:00
gcloud open-sourcing daml 2019-04-04 09:33:38 +01:00
ghc Switch to GHC 8.10.3 (#8394) 2021-01-25 11:53:53 +00:00
ghci open-sourcing daml 2019-04-04 09:33:38 +01:00
ghcid fix dev-env ghcid (#3218) 2019-10-18 12:27:41 +02:00
gpg dev-env: Remove some unused stuff. (#10087) 2021-06-23 08:13:38 +00:00
grep add grep to dev-env (#4903) 2020-03-10 10:34:01 +01:00
grpcurl fix grpcurl (#7324) 2020-09-04 16:38:49 +02:00
gsutil open-sourcing daml 2019-04-04 09:33:38 +01:00
hlint open-sourcing daml 2019-04-04 09:33:38 +01:00
jar open-sourcing daml 2019-04-04 09:33:38 +01:00
java open-sourcing daml 2019-04-04 09:33:38 +01:00
javac open-sourcing daml 2019-04-04 09:33:38 +01:00
javafmt Add google-java-format to devenv as javafmt (#8687) 2021-01-29 13:59:26 +01:00
jinfo open-sourcing daml 2019-04-04 09:33:38 +01:00
jmap open-sourcing daml 2019-04-04 09:33:38 +01:00
jq correct jq in dev-env (#463) 2019-04-12 16:44:15 -04:00
jstack open-sourcing daml 2019-04-04 09:33:38 +01:00
lsof Get lsof from dev-env (#8064) 2020-11-25 14:43:37 +00:00
m4 open-sourcing daml 2019-04-04 09:33:38 +01:00
make dev-env: Remove some unused stuff. (#10087) 2021-06-23 08:13:38 +00:00
mvn open-sourcing daml 2019-04-04 09:33:38 +01:00
nix-prefetch-git open-sourcing daml 2019-04-04 09:33:38 +01:00
nix-update-src-json Fix nix installation (#6400) 2020-06-18 10:34:08 +02:00
node open-sourcing daml 2019-04-04 09:33:38 +01:00
node2nix open-sourcing daml 2019-04-04 09:33:38 +01:00
npm open-sourcing daml 2019-04-04 09:33:38 +01:00
openssl open-sourcing daml 2019-04-04 09:33:38 +01:00
pandoc open-sourcing daml 2019-04-04 09:33:38 +01:00
patch open-sourcing daml 2019-04-04 09:33:38 +01:00
patchelf open-sourcing daml 2019-04-04 09:33:38 +01:00
pex open-sourcing daml 2019-04-04 09:33:38 +01:00
pip3 open-sourcing daml 2019-04-04 09:33:38 +01:00
pipenv open-sourcing daml 2019-04-04 09:33:38 +01:00
pre-commit Add pre-commit config and install hook in dev-env (#15637) 2022-12-07 13:09:50 +00:00
protoc open-sourcing daml 2019-04-04 09:33:38 +01:00
pypi2nix open-sourcing daml 2019-04-04 09:33:38 +01:00
python open-sourcing daml 2019-04-04 09:33:38 +01:00
python3 open-sourcing daml 2019-04-04 09:33:38 +01:00
README.md remove mentions of da-int servers (#2485) 2019-08-12 10:42:41 +01:00
runpipenv open-sourcing daml 2019-04-04 09:33:38 +01:00
sass open-sourcing daml 2019-04-04 09:33:38 +01:00
sbt add sbt to dev-env (#964) 2019-05-07 09:27:38 -04:00
scala open-sourcing daml 2019-04-04 09:33:38 +01:00
scalac open-sourcing daml 2019-04-04 09:33:38 +01:00
scaladoc open-sourcing daml 2019-04-04 09:33:38 +01:00
scalafmt open-sourcing daml 2019-04-04 09:33:38 +01:00
scalap open-sourcing daml 2019-04-04 09:33:38 +01:00
sed add sed to dev-env (#6129) 2020-05-27 17:11:09 +00:00
semver open-sourcing daml 2019-04-04 09:33:38 +01:00
sha1sum open-sourcing daml 2019-04-04 09:33:38 +01:00
sha256sum Add sha256sum to dev-env (#12328) 2022-01-10 17:45:33 +01:00
shellcheck open-sourcing daml 2019-04-04 09:33:38 +01:00
sphinx-build open-sourcing daml 2019-04-04 09:33:38 +01:00
sphinx-quickstart open-sourcing daml 2019-04-04 09:33:38 +01:00
tar add tar to dev-env (#10173) 2021-07-05 12:26:35 +02:00
terraform open-sourcing daml 2019-04-04 09:33:38 +01:00
thrift open-sourcing daml 2019-04-04 09:33:38 +01:00
timeout [JSON-API] vanilla oracle_perf ci job (#10688) 2021-09-02 09:31:56 +01:00
tred open-sourcing daml 2019-04-04 09:33:38 +01:00
unflatten open-sourcing daml 2019-04-04 09:33:38 +01:00
unzip test: test for platform independent dars (#10535) 2021-08-17 18:59:12 +02:00
update-ghcide-local Add tool for compiling ghcide from a local copy (#16860) 2023-05-16 15:56:20 +00:00
wget open-sourcing daml 2019-04-04 09:33:38 +01:00
xargs dev-env: Add xargs. (#7769) 2020-10-21 13:00:19 +00:00
xmlstarlet open-sourcing daml 2019-04-04 09:33:38 +01:00
yapf open-sourcing daml 2019-04-04 09:33:38 +01:00
yarn open-sourcing daml 2019-04-04 09:33:38 +01:00
zinc open-sourcing daml 2019-04-04 09:33:38 +01:00
zip open-sourcing daml 2019-04-04 09:33:38 +01:00

dade-preload

This tool will force nix to build every derivation in the dev-env.

Wrapped tools

Once the dev-env is set up (either through direnv (recommended), or through manually sourcing one of dev-env/profile_{z,ba}sh.sh), the shell's PATH will look through dev-env/bin first for its executables. The executables in there are mostly scripts that redirect the call to the corresponding nix-built executable. However, having that script gives us an opportunity to wrap some of those commands in special ways; this section is meant to document in what ways the commands available in dev-env/bin have been modified from their vanilla variants.