From: Ismaƫl Bouya Date: Sat, 20 Oct 2018 15:19:06 +0000 (+0200) Subject: Add haskell stack config X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=f414bdd599a6877fc0f97872cb36a7c8b0c89a0d;p=perso%2FImmae%2FConfig%2Fdotdrop.git Add haskell stack config --- diff --git a/config.yaml b/config.yaml index b0ae702..3f4fcb0 100644 --- a/config.yaml +++ b/config.yaml @@ -62,6 +62,9 @@ dotfiles: prog_haskell_ghci: dst: ~/.ghc/ghci.conf src: programming/haskell/ghci.conf + prog_haskell_stack: + dst: ~/.local/share/stack + src: programming/haskell/stack prog_nodejs_npm: dst: ~/.config/npm/npmrc src: programming/nodejs/npmrc @@ -132,6 +135,7 @@ profiles: _prog_haskell: dotfiles: - prog_haskell_ghci + - prog_haskell_stack _prog_nodejs: dotfiles: - prog_nodejs_npm diff --git a/dotfiles/programming/haskell/stack/config.yaml b/dotfiles/programming/haskell/stack/config.yaml new file mode 100644 index 0000000..5828c8d --- /dev/null +++ b/dotfiles/programming/haskell/stack/config.yaml @@ -0,0 +1,14 @@ +# This file contains default non-project-specific settings for 'stack', used +# in all projects. For more information about stack's configuration, see +# http://docs.haskellstack.org/en/stable/yaml_configuration/ + +# The following parameters are used by "stack new" to automatically fill fields +# in the cabal config. We recommend uncommenting them and filling them out if +# you intend to use 'stack new'. +# See https://docs.haskellstack.org/en/stable/yaml_configuration/#templates +templates: + params: +# author-name: +# author-email: +# copyright: +# github-username: \ No newline at end of file diff --git a/dotfiles/programming/haskell/stack/global-project/README.txt b/dotfiles/programming/haskell/stack/global-project/README.txt new file mode 100644 index 0000000..646fa5f --- /dev/null +++ b/dotfiles/programming/haskell/stack/global-project/README.txt @@ -0,0 +1,2 @@ +This is the implicit global project, which is used only when 'stack' is run +outside of a real project. diff --git a/dotfiles/programming/haskell/stack/global-project/stack.yaml b/dotfiles/programming/haskell/stack/global-project/stack.yaml new file mode 100644 index 0000000..643adf2 --- /dev/null +++ b/dotfiles/programming/haskell/stack/global-project/stack.yaml @@ -0,0 +1,10 @@ +# This is the implicit global project's config file, which is only used when +# 'stack' is run outside of a real project. Settings here do _not_ act as +# defaults for all projects. To change stack's default settings, edit +# '/home/ismael/.local/share/stack/config.yaml' instead. +# +# For more information about stack's configuration, see +# http://docs.haskellstack.org/en/stable/yaml_configuration/ +# +packages: [] +resolver: lts-12.11