aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"
)