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
haskellPackages.vty fails with pkgsStatic due to terminfo dependency #182785
Labels
Comments
Thanks for the report! This is a genuine issue with the cross package sets. They erroneously believe Should be an easy fix though. |
This came up on the Haskell Discourse: |
13 tasks
sternenseemann
added a commit
that referenced
this issue
Jul 26, 2022
j6carey
pushed a commit
to awakesecurity/nixpkgs
that referenced
this issue
Sep 27, 2023
j6carey
pushed a commit
to awakesecurity/nixpkgs
that referenced
this issue
Nov 10, 2023
GHC's cross build flavours disable the terminfo package, so it will never be included if we are cross-compiling – setting it to null thus breaks all builds depending on the package. To fix this problem, we use the versioned attribute generated by hackage2nix, just like we do for xhtml. Closes NixOS#182785.
j6carey
pushed a commit
to awakesecurity/nixpkgs
that referenced
this issue
Nov 10, 2023
jsoo1
pushed a commit
to awakesecurity/nixpkgs
that referenced
this issue
Nov 13, 2023
j6carey
pushed a commit
to awakesecurity/nixpkgs
that referenced
this issue
Dec 7, 2023
j6carey
pushed a commit
to awakesecurity/nixpkgs
that referenced
this issue
Dec 7, 2023
j6carey
pushed a commit
to awakesecurity/nixpkgs
that referenced
this issue
Dec 17, 2023
jsoo1
pushed a commit
to awakesecurity/nixpkgs
that referenced
this issue
Dec 19, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I'm trying to build my application with
pkgsStatic
. This fails because I am depending onvty
, which gives me an error about theterminfo
dependency:I can fix this via:
Thanks @cdepillabout for figuring this out!
I'm using the latest master from yesterday: https://github.com/NixOS/nixpkgs/archive/28e2fa05340c0c20f16edddc51c5e953adf659b3.tar.gz
I'd assume to reproduce this, you can just create a derivation that depends on
vty
.Notify maintainers
@NixOS/haskell
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result."x86_64-linux"
Linux 5.15.0-39-generic, Ubuntu, 22.04 LTS (Jammy Jellyfish), nobuild
no
yes
nix-env (Nix) 2.3.8
"home-manager, nixgl, nixpkgs-22.11pre393322.e2b34f0f11e"
/home/pmidden/.nix-defexpr/channels/nixpkgs
The text was updated successfully, but these errors were encountered: