To reproduce bug: $ cd stack-bug-flag $ stack ghci --flag stack-bug-flag:production λ live False λ main False (should be True in both cases)