forked from commercialhaskell/stack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stack/Nix used with a shell file now expects a function
Addresses commercialhaskell#2243 The shell file should expect a `{ghc}` argument which should be passed to the `buildInputs`, so the stack environment contains the right GHC If the shell file doesn't define a function, then the ghc passed by stack is just ignored, but the doc doesn't mention it in order to encourage this new good practise.
- Loading branch information
Showing
2 changed files
with
15 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters