aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2021-10-24 22:37:53 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2021-10-24 22:37:53 +0200
commit85401d4f65ab6b190d6a303b367ce3be6266a877 (patch)
tree54eb546675239a4fa4401d3755dd26b589ae12d7
parent6b31460149921527899687ce96ffa79e3e48d182 (diff)
downloaddotfiles-85401d4f65ab6b190d6a303b367ce3be6266a877.tar.gz
add ghc-stack
-rw-r--r--.stack/.gitignore3
-rw-r--r--.stack/config.yaml12
-rwxr-xr-xinstall.sh1
3 files changed, 16 insertions, 0 deletions
diff --git a/.stack/.gitignore b/.stack/.gitignore
new file mode 100644
index 0000000..ba1c556
--- /dev/null
+++ b/.stack/.gitignore
@@ -0,0 +1,3 @@
+*
+!config.yaml
+!.gitignore
diff --git a/.stack/config.yaml b/.stack/config.yaml
new file mode 100644
index 0000000..cce643c
--- /dev/null
+++ b/.stack/config.yaml
@@ -0,0 +1,12 @@
+# Stop downloading GHCs into isolated locations under ~/.stack.
+install-ghc: false
+
+# Allow Stack to pick the system GHC (false by default).
+system-ghc: true
+
+# Allow to use, say, Stackage snapshot for GHC 8.8.2 with system GHC 8.8.3.
+compiler-check: newer-minor
+
+# Add the -dynamic flag to every invocation of GHC.
+ghc-options:
+ "$everything": -dynamic
diff --git a/install.sh b/install.sh
index e7b5a92..597cb3e 100755
--- a/install.sh
+++ b/install.sh
@@ -23,6 +23,7 @@ CONFIGS=( ["sway"]=".config"
[".Xresources"]="."
[".radare2rc"]="."
[".bash_profile"]="."
+ [".stack"]="."
["gpg-agent.conf"]=".gnupg"
)