stack2nix icon indicating copy to clipboard operation
stack2nix copied to clipboard

Override GHC options

Open ip1981 opened this issue 8 years ago • 2 comments

Synopsis:

Ensuring cabal2nix version is >= 2.2.1 ...
Ensuring git version is >= 2 ...
Ensuring cabal version is >= 1 ...
stack2nix: stack's Nix integration is incompatible with '--no-system-ghc'. Please use '--system-ghc' or disable the Nix integration.

Make Stack ignore GHC options. I don't know how it happens in stack2nix, but this should be equivalent to stack --system-ghc --no-install-ghc.

ip1981 avatar Sep 21 '17 11:09 ip1981

@ip1981 what is the contents of stack.yaml?

domenkozar avatar Dec 09 '17 11:12 domenkozar

It includes these lines:

install-ghc: true
system-ghc: false

ip1981 avatar Dec 09 '17 11:12 ip1981