From 3c5505d222a247c6d9137eecad6e986c0dd0d5a3 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Thu, 10 Nov 2022 22:38:30 +0800 Subject: [PATCH] Fix disabling installation of stack Fixes #429 --- scripts/bootstrap/bootstrap-haskell.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/bootstrap/bootstrap-haskell.ps1 b/scripts/bootstrap/bootstrap-haskell.ps1 index 8587789..b472dcb 100644 --- a/scripts/bootstrap/bootstrap-haskell.ps1 +++ b/scripts/bootstrap/bootstrap-haskell.ps1 @@ -577,8 +577,8 @@ $Msys2Shell = ('{0}\msys2_shell.cmd' -f $MsysDir) # The bootstrap script is always silent, since we ask relevant questions here $SilentExport = 'export BOOTSTRAP_HASKELL_NONINTERACTIVE=1 ;' -if ($InstallStack) { - $StackInstallExport = 'export BOOTSTRAP_HASKELL_INSTALL_STACK=1 ;' +if (!($InstallStack)) { + $StackInstallExport = 'export BOOTSTRAP_HASKELL_INSTALL_NO_STACK=1 ;' } if ($InstallHLS) {