daml/dev-env/bin
Gary Verhaegen f025dc3065
daml-sdk-head: add optional sha information (#7717)
daml-sdk-head: add optional sha information

This PR add an option, `--sha`, to `daml-sdk-head` so that it produces a
more accurate version number including the current git sha.

The main consequence is that calling `daml-sdk-head --sha` take
significantly longer than calling `daml-sdk-head`, because it needs to
recompile everything that depends on the version number.

> ## Wait, but why??

I started this work in support of an internal project that needed to
test against unreleased, and possibly unmerged, daml versions. However,
after further discussion I believe there is a better option for their
use-case. I've decided to still open this PR because the work was done
and there is no downside to it. It may still be useful if one wanted to
be able to maintain more than one non-released local version of daml.

CHANGELOG_BEGIN
CHANGELOG_END
2020-10-16 16:40:58 +02:00
..
aws target s3 bucket with docs refresh script (#1287) 2019-05-21 22:26:07 +00:00
base64 open-sourcing daml 2019-04-04 09:33:38 +01:00
bats 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
buck-out open-sourcing daml 2019-04-04 09:33:38 +01: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
coursier open-sourcing daml 2019-04-04 09:33:38 +01:00
cram open-sourcing daml 2019-04-04 09:33:38 +01:00
curl Dev env fixes (#232) 2019-04-04 16:46:06 -04:00
da-ghci update copyright notices to 2020 (#3939) 2020-01-02 21:21:13 +01:00
da-ghcid update copyright notices to 2020 (#3939) 2020-01-02 21:21:13 +01:00
da-install-git-hooks open-sourcing daml 2019-04-04 09:33:38 +01:00
da-test-haskell-update-expected open-sourcing daml 2019-04-04 09:33:38 +01: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 open-sourcing daml 2019-04-04 09:33:38 +01:00
dade-assist open-sourcing daml 2019-04-04 09:33:38 +01:00
dade-closure-size open-sourcing daml 2019-04-04 09:33:38 +01:00
dade-collect-garbage dade-collect-garbage to delete ~/.bazel-cache as part of the cleanup (#1061) 2019-05-09 16:09:29 -04:00
dade-copyright-headers add copyright headers to yml files (#4407) 2020-02-06 12:54:07 +01:00
dade-env open-sourcing daml 2019-04-04 09:33:38 +01:00
dade-freeze Disable http2 with Nix to work around segfaults (#4427) 2020-02-06 15:15:11 +00:00
dade-help open-sourcing daml 2019-04-04 09:33:38 +01:00
dade-init open-sourcing daml 2019-04-04 09:33:38 +01:00
dade-list open-sourcing daml 2019-04-04 09:33:38 +01: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 open-sourcing daml 2019-04-04 09:33:38 +01:00
dade-prepare-for-update open-sourcing daml 2019-04-04 09:33:38 +01:00
dade-release-tool open-sourcing daml 2019-04-04 09:33:38 +01:00
dade-test-sh open-sourcing daml 2019-04-04 09:33:38 +01:00
daml-sdk-head daml-sdk-head: add optional sha information (#7717) 2020-10-16 16:40:58 +02:00
data-uri open-sourcing daml 2019-04-04 09:33:38 +01:00
dependency-check open-sourcing daml 2019-04-04 09:33:38 +01: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 add find to dev-env (#6175) 2020-06-01 15:11:55 +02: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
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
ghcide Update ghcide 0.1.0 --> 0.2.0 (#6745) 2020-07-16 16:30:09 +00:00
gpg Fixes #1204: Release bindings and codegens to Maven Central. (#1205) 2019-06-17 15:37:49 +02: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
hub-detect open-sourcing daml 2019-04-04 09:33:38 +01:00
ibazel open-sourcing daml 2019-04-04 09:33:38 +01:00
ipython 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
jfrog open-sourcing daml 2019-04-04 09:33:38 +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
license-checker open-sourcing daml 2019-04-04 09:33:38 +01:00
m4 open-sourcing daml 2019-04-04 09:33:38 +01:00
make open-sourcing daml 2019-04-04 09:33:38 +01: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
osht 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
pip3.6 open-sourcing daml 2019-04-04 09:33:38 +01:00
pipenv open-sourcing daml 2019-04-04 09:33:38 +01: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
python3.6 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
shellcheck open-sourcing daml 2019-04-04 09:33:38 +01:00
sphinx-autobuild 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
terraform open-sourcing daml 2019-04-04 09:33:38 +01:00
thrift open-sourcing daml 2019-04-04 09:33:38 +01:00
tlc2 open-sourcing daml 2019-04-04 09:33:38 +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
wget open-sourcing daml 2019-04-04 09:33:38 +01:00
xmlstarlet open-sourcing daml 2019-04-04 09:33:38 +01:00
xxd 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.