-
Notifications
You must be signed in to change notification settings - Fork 175
Conversation
Maybe I'm a bit confused about how things are supposed to work with Nix but why are you PRing this here instead of over at nixpkgs? As for the over-restrictive bounds I'd be happy to merge a PR that just bumps the related dependencies if you tested that everything builds and works with them. |
The version of ghc-mod on hackage is currently not buildable (at least with
8.2.2), and nixpkgs only allows for performing overrides on the version in
hackage, which is not possible in this case. With this nix pression, users
can install ghc-mod with "nix-env -f default.nix -i 'ghc-mod-pinned' "
…On Feb 25, 2018 3:50 PM, "Daniel Gröber" ***@***.***> wrote:
Maybe I'm a bit confused about how things are supposed to work with Nix
but why are you PRing this here instead of over at nixpkgs?
As for the over-restrictive bounds I'd be happy to merge a PR that just
bumps the related dependencies if you tested that everything builds and
works with them.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#928 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ARyL6996hdsSvmrVc3mUdXCpY9MEN1quks5tYcd-gaJpZM4SQLJo>
.
|
I don't understand the purpose of this PR. |
@peti, it's possible I've made a mistake, but when installing ghc-mod with 'nix-env -iA nixos.haskellPackages.ghc-mod', ghc-mod failed to build. Looking at that nixpkgs issue which referenced this PR, I can see that the problem is fixed. When I made this PR, I didn't go to nixpkgs because I thought nixpkgs was pulling ghc-mod from Hackage. Now I know that assumption is incorrect. Also, this is probably the wrong place to make the PR anyway. I apologise. |
Nixpkgs does pull |
@peti sorry for the late reply, but wouldn't a hackage revision suffice for a bounds issue? Does your tooling not pick those up or something? I'd be happy to bump them bounds if anyone actually notified me of any problems! |
I added a nix expression that allows building ghc-mod with nix. It does not affect the code, however, a few of your dependencies have what I believe are unnecessarily low upper bounds. They are:
hlint, monad-journal, optparse-applicative, extra, and haskell-src-exts.
The reason I say that these bounds are unnecessarily low is that ghc-mod can build with their newest versions.