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

basic ways to work with default.nix & cabal (overriding conventions etc) + local haddocks #47

Open
gspia opened this issue Apr 11, 2019 · 0 comments

Comments

@gspia
Copy link

gspia commented Apr 11, 2019

Hi

I have building difficulties with a project and it seems that turning off the haddock generation is needed. The current docs don't show, how to do this. Maybe add something about it to local haddoc. Even thought this is about nix-confs

  • this can be hard those who are new for both nixos and frp
  • the nix-things on frp-platform build on top of nix-libs: it is not obvious, how to do things to get them working on frp-platform/ob
  • it might not be that obvious for some things, should the mod made into the cabal- or default.nix-files

These "things" include

  • turning on and off the documentation generation
  • passing parameters to the compilation and linking, and for ghc and ghcjs
  • if the system tries to compile external lib, and it is, say too new (version clash), then what is the recommended way to solve this. (Sometimes, I just get the source and refer to the local version, which probably is a bad way to do things, and sometimes I have referred to older version. The problem with that is that I cannot remember, how to do the referral to the older version and somehow I cannot find easily, where I have applied it. Both would be the default.nix-modifications.)

Further, it's probably not easy to decide, what is the right place for the above things. (Somewhere in the docs as that is the place people tend to look and not in the related project-readme-files??)

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

No branches or pull requests

1 participant