Closed MartinPotier closed 6 years ago
I think that change was introduced in https://github.com/commercialhaskell/stack/pull/3938. @rdnetto can you make another PR so that this default behaviour can be disabled using --no-nix
?
@rdnetto small bump?
Sorry for the delay in replying - I've been busy and only just got the email. Sorry for the regression - I completely forgot that docker mode was a thing. Will get a PR up that fixes it ASAP.
Commit b60819cbe9dc5e97cdc3771a0fb538d21ab190d2 introduces the “Note: Enabling Nix integration, as it is required under NixOS”. Sometimes you don't want to use nix mode, especially when using the docker integration at the same time for producing binaries for other architectures.
Steps to reproduce
run stack --no-nix under NixOS, watch the message “Note: Enabling Nix integration, as it is required under NixOS”.
Expected
Don't use nix integration when --no-nix is set
It's real bad. Right now I have to revert since the build toolchain is broken because of stack.
Version