From f1bb6b52d8552c1efc5706789e3950b1c658174d Mon Sep 17 00:00:00 2001 From: b3nj4m1n Date: Fri, 13 May 2022 03:54:21 +0200 Subject: [PATCH] Add support for cabal & stack --- programs/cabal.json | 10 ++++++++++ programs/stack.json | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 programs/cabal.json create mode 100644 programs/stack.json diff --git a/programs/cabal.json b/programs/cabal.json new file mode 100644 index 0000000..01444df --- /dev/null +++ b/programs/cabal.json @@ -0,0 +1,10 @@ +{ + "files": [ + { + "path": "$HOME/.cabal", + "movable": true, + "help": "Export the following environment variables:\n\n```bash\nexport CABAL_CONFIG=\"$XDG_CONFIG_HOME\"/cabal/config\nexport CABAL_DIR=\"$XDG_CACHE_HOME\"/cabal\n```\n" + } + ], + "name": "cabal" +} diff --git a/programs/stack.json b/programs/stack.json new file mode 100644 index 0000000..d590a3c --- /dev/null +++ b/programs/stack.json @@ -0,0 +1,10 @@ +{ + "files": [ + { + "path": "$HOME/.stack", + "movable": true, + "help": "Export the following environment variables:\n\n```bash\nexport STACK_ROOT=\"$XDG_DATA_HOME\"/stack\n```\n" + } + ], + "name": "stack" +} \ No newline at end of file -- 2.47.3