summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-07-04T14·57+0100
committerVincent Ambo <tazjin@google.com>2019-07-04T14·57+0100
commit27c3e77d2f7956340cf97bd575e3ac110848a05f (patch)
treebed18bbaf08196bfc6ccf7e46b12b3e704c25000
parent6fbdf41b0584d46d626fd5d76852d821bcdc2764 (diff)
feat(tools): Add custom GHC with dependencies to env r/22
-rwxr-xr-xtools/bin/__dispatch.sh3
l---------tools/bin/ghc1
2 files changed, 4 insertions, 0 deletions
diff --git a/tools/bin/__dispatch.sh b/tools/bin/__dispatch.sh
index 228091c52452..6543dc53ccd4 100755
--- a/tools/bin/__dispatch.sh
+++ b/tools/bin/__dispatch.sh
@@ -19,6 +19,9 @@ case "${TARGET_TOOL}" in
   stylish-haskell)
     attr="haskellPackages.stylish-haskell"
     ;;
+  ghc)
+    attr="thirdParty.ghc"
+    ;;
   *)
     echo "The tool '${TARGET_TOOL}' is currently not installed in this repository."
     exit 1
diff --git a/tools/bin/ghc b/tools/bin/ghc
new file mode 120000
index 000000000000..8390ec9c9652
--- /dev/null
+++ b/tools/bin/ghc
@@ -0,0 +1 @@
+__dispatch.sh
\ No newline at end of file