From f919c9b8c5c8c67ea7515222b0c8c076b5d3a85f Mon Sep 17 00:00:00 2001 From: Greg Pfeil Date: Mon, 15 Jul 2024 16:45:28 -0600 Subject: [PATCH 1/2] =?UTF-8?q?Don=E2=80=99t=20let=20Stack=20tell=20contri?= =?UTF-8?q?butors=20to=20upgrade?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We use a specific version of Stack, we don’t want Stack complaining to contributors that it doesn’t happen to be the latest. --- stack.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stack.yaml b/stack.yaml index 19668b74ca..739ced9306 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,3 +1,6 @@ +## We pin a specific Stack version when possible. We shouldn’t then tell contributors to upgrade from there. +recommend-stack-upgrade: false + flags: haskeline: terminfo: false From e10801453e3127121c9efb7a8fdd12b2bd0f24dd Mon Sep 17 00:00:00 2001 From: Greg Pfeil Date: Mon, 15 Jul 2024 16:56:17 -0600 Subject: [PATCH 2/2] =?UTF-8?q?Don=E2=80=99t=20let=20Stack=20complain=20ab?= =?UTF-8?q?out=20Nix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We intentionally disable Stack’s Nix integration when it’s run from a Nix shell. We don’t want Stack complaining that we should enable it since it found `nix` on the path. --- stack.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stack.yaml b/stack.yaml index 739ced9306..19bccd7774 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,3 +1,5 @@ +## We intentionally disable Nix integration when running in a Nix shell. +notify-if-nix-on-path: false ## We pin a specific Stack version when possible. We shouldn’t then tell contributors to upgrade from there. recommend-stack-upgrade: false