-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
hunspell-hs: fix build #45633
hunspell-hs: fix build #45633
Conversation
Trying to upstream things here ashutoshrishi/hunspell-hs#3 |
Maybe they could use |
@GrahamcOfBorg build haskellPackages.hunspell-hs |
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: haskellPackages.hunspell-hs Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: haskellPackages.hunspell-hs Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: haskellPackages.hunspell-hs Partial log (click to expand)
|
@@ -0,0 +1,30 @@ | |||
diff -Naur hunspell-hs-0.1.0.0.orig/hunspell-hs.cabal hunspell-hs-0.1.0.0/hunspell-hs.cabal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be nicer to obtain the patch with fetchpatch
from the commit in the PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would include the extra-source-files:
line mentioning files, which aren't present on hackage. I think Cabal would stumble about that, but I can try it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That doesn't work at all. For nixpkgs I alter a .cabal
file, which only exists in the hackage upload. For the PR to hunspell-hs I alter a package.yaml
file.
Using pkgconfig like jtojnar suggested. Disables tests as some necessary data files aren't included on hackage.
505bf9a
to
5d91e0f
Compare
Switched to using pkgconfig as jtojnar suggested, that really works better. Also upstreamed use of pkgconfig in said pr ashutoshrishi/hunspell-hs#3 |
@GrahamcOfBorg build haskellPackages.hunspell-hs |
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: haskellPackages.hunspell-hs Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: haskellPackages.hunspell-hs Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: haskellPackages.hunspell-hs Partial log (click to expand)
|
@typetetris thanks! |
There is no library hunspell, but hunspell-1.6,
hunspell-1.4 (not in nixpkgs), and so on.
Disables tests as some necessary data files
aren't included on hackage.
Motivation for this change
Get hunspell-hs building again.
Things done
Fixed
extra-libraries
and disabled tests.sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)