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

survey: statify: Remove hardcoded link of zlib+ncurses #42

Closed
wants to merge 1 commit into from

Conversation

nh2
Copy link
Owner

@nh2 nh2 commented Aug 9, 2019

Building xmonad worked fine with it, let's see what CI thinks about it.

@nh2
Copy link
Owner Author

nh2 commented Aug 10, 2019

Looks like at least cabal is unhappy with it:

https://circleci.com/gh/nh2/static-haskell-nix/45

Linking dist/build/cabal/cabal ...
/nix/store/ljx5sayk6w0bpd1ahcf0rm5fj55cqafd-binutils-2.31.1/bin/ld: cannot find -lz

@nh2
Copy link
Owner Author

nh2 commented Aug 14, 2019

I should give another shot at removing zlib once I've merged 4f57531#diff-5a873d92c00133aa8d3f0a425a93aac2R453, which (by not splitting the .a file into its own output zlib.static, NixOS/nixpkgs#66490) should make the zlib.pc pkg-config file work as expected.

This might help in the task of not having to give -lz manually.

@nh2
Copy link
Owner Author

nh2 commented Aug 17, 2019

I found that I can't remove ncurses because ghc depends on it, but -lz in #44, see f9bdfa0.

@nh2 nh2 closed this Aug 17, 2019
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

Successfully merging this pull request may close these issues.

1 participant