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
haskell-opencv: fix build and #47595 #50192
Conversation
applied patch can be removed, when LumiGuide/haskell-opencv@cd613e2 hits hackage and later nixpkgs.
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.
Can we download that patch from somewhere instead of committing it into the Nixpkgs repository?
I tried that, but the repository for haskell-opencv contains two packages at the same time and the patch assumes subdirectories |
On hackage the if you want to wait, until that gets updated on hackage and the patch is unnecessary, I can change my pull request to just strip the configure flags cabal2nix generates. If you want to update cabal2nix to not generate those configure flags in this case any more and wait So, what shall it be? |
I'm not sure I follow. Are you saying that the configure flags https://github.com/NixOS/cabal2nix/blob/master/src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs#L354-L355 are unnecessary today, i.e. we could just remove them and there'd be no harm done? |
If I understood matters correctly: No. At the moment opencv doesn't build in master. The fix are two parts:
Applying 1. doesn't change the cabal file, so I assumed, The part 1. will eventually be fixed, if a new version of opencv gets uploaded to hackage event. So if we wait for the change of And if the maintainer of Hopefully that is clearer now. |
According to NixOS/nixpkgs#50192 (comment), this won't be necessary any more with modern versions of the package.
OK, now I understand what is going on. Thank you! I modified On a side note, it might be a good idea to open a ticket with upstream to make sure that they are aware that their test suite does not compile. |
According to NixOS/nixpkgs#50192 (comment), this won't be necessary any more with modern versions of the package.
Thank you! I wasn't aware that there is package specific knowledge in |
According to NixOS/nixpkgs#50192 (comment), this won't be necessary any more with modern versions of the package.
applied patch can be removed, when
LumiGuide/haskell-opencv@cd613e2
hits hackage and later nixpkgs.
Motivation for this change
get opencv to build again and fix #47595
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)