Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lts-14.* snapshots fails with "'libiserv' missing" #269

Closed
madjar opened this issue Oct 23, 2019 · 7 comments
Closed

lts-14.* snapshots fails with "'libiserv' missing" #269

madjar opened this issue Oct 23, 2019 · 7 comments

Comments

@madjar
Copy link

madjar commented Oct 23, 2019

Hi there!

After upgrading to the recent overlay changes, it appears my stack project has stopped working. The issue seems to boil down to the following:

Inside of nix repl (or, anywhere you would evaluate nix code), run:
(import <nixpkgs> (import (builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz))).haskell-nix.snapshots."lts-14.11"

It fails with attribute 'libiserv' missing, at /nix/store/xxidvhr3q8z5g4r85mp92dvfw4rxiy9h-stackage-snapshot-source/lts-14.11.nix:1388:32

This is an issue for all lts-14* snapshots, but not 13. It seems that all lts-14.*.nix files in stackage.nix refer to libiserv, which is not actually in hackage (it seems to be part of ghc, if I understand correctly).

@angerman
Copy link
Collaborator

@madjar thanks for the report. And yes libiserv is something that comes with ghc (recent versions), and is provided by the ghc-packages overlay. I wonder why this isn't picked up for lts-14.11 though.

@blitz
Copy link

blitz commented Oct 25, 2019

@angerman We are hitting this issue as well. What component actually needs fixing here and is there a way to help?

@fiadliel
Copy link

In case it helps someone (temporarily) to get past this issue, I forked stackage.nix to remove the "libiserv" attribute, following https://github.com/input-output-hk/haskell.nix/blob/master/docs/user-guide.md#overriding-the-hackage-version

@blitz
Copy link

blitz commented Nov 5, 2019

@hamishmack @angerman Ping. Do you have any idea how to fix this without resorting to overriding?

hamishmack added a commit that referenced this issue Nov 5, 2019
Also fixes packages like that depend on the `ghc` library.
@purefn
Copy link
Contributor

purefn commented Nov 6, 2019

I tried updating to the latest commit b8af990 and am still encountering this issue. :(

@roberth
Copy link
Contributor

roberth commented Nov 8, 2019

Still happens on f2fffb6

@hamishmack
Copy link
Collaborator

hamishmack commented Nov 8, 2019

Ah I see. I only fixed this for the haskell-nix.snapshots. So things like:

nix-build -E '(import ./nixpkgs (import ./.)).haskell-nix.snapshots."lts-14.13".hpack.components.exes.hpack'

now work.

@hamishmack hamishmack reopened this Nov 8, 2019
hamishmack added a commit that referenced this issue Nov 8, 2019
First fix only fixed `haskell-nix.snapshot` by applying the fix also
to mkStackPkgSet stack.yaml based projects should work with lts 14
hamishmack added a commit that referenced this issue Nov 8, 2019
First fix only fixed `haskell-nix.snapshot` by applying the fix also
to mkStackPkgSet stack.yaml based projects should work with lts 14
hamishmack added a commit that referenced this issue Nov 8, 2019
First fix only fixed `haskell-nix.snapshot` by applying the fix also
to mkStackPkgSet stack.yaml based projects should work with lts 14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants