-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
stack2nix: user error (No such package libiserv-8.6.3 in the cabal database. Did you run cabal update?) #85
Comments
That is odd. That error usually appears when stuff is not in this list: But A minimal repro is: index c113006..473da42 100644
--- a/static-stack2nix-builder-example/stack.yaml
+++ b/static-stack2nix-builder-example/stack.yaml
@@ -1,3 +1,5 @@
resolver: lts-14.7
packages:
- .
+extra-deps:
+ - time-1.9.3 Edit: When trying this with plain --- a/static-stack2nix-builder-example/package.yaml
+++ b/static-stack2nix-builder-example/package.yaml
@@ -6,6 +6,7 @@ maintainer: "[email protected]"
dependencies:
- base >= 4.7 && < 5
+- time
library:
source-dirs: src Then after |
I think I have the solution: We need the same as nh2/stack2nix@6b29a9e but for That makes it run through for me locally. I haven't figured out yet though why it happens only when you put that |
It looks like some problem in old Stack adding libiserv into build plan, I couldn't find why that happens yet :-\ |
@nh2 I have found the reason this happens. It's another occurrence of the same problem Michael wrote about in https://www.snoyman.com/blog/2019/01/mismatched-global-packages . Overriding |
default.nix:
stack.yaml:
input-output-hk/haskell.nix@1461517 and input-output-hk/haskell.nix#269 seem related
The text was updated successfully, but these errors were encountered: