From 85401d4f65ab6b190d6a303b367ce3be6266a877 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sun, 24 Oct 2021 22:37:53 +0200 Subject: add ghc-stack --- .stack/.gitignore | 3 +++ .stack/config.yaml | 12 ++++++++++++ install.sh | 1 + 3 files changed, 16 insertions(+) create mode 100644 .stack/.gitignore create mode 100644 .stack/config.yaml 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" ) -- cgit v1.2.3