mirror of
https://github.com/haskell-nix/hnix.git
synced 2024-09-17 17:57:58 +03:00
58cd8fa112
* treewide: light relude linting Provided `relude's` `.hlint.yaml` locally. To my taste most of the suggestions are specific to `relude` and can be considered harmful for future portability. Only the `(fmap . fmap) == <<$>>` & `*.singleton == one`, I'd considered somewhat reasonable to maybe thinnk about adopting. The flip of the arguments in `whenJust` and so on - surprised me. These here are what indeed is light and helps to clean-up a bit and in future text data types & list migrations. Most of the `relude` HLint rules I saw, I want to remove from the checks. So decisively not going to implement them in CI. * default.nix: upd default to GHC8104
8 lines
188 B
Nix
8 lines
188 B
Nix
attrs@{...}:
|
|
let defaultAttrs = {
|
|
# Defaults are put in this form deliberately. Details: #748
|
|
withHoogle = true;
|
|
compiler = "ghc8104";
|
|
};
|
|
in (import ./. (defaultAttrs // attrs)).env
|