It would be nice to just have some small general information about how
language support is implemented in nix.

( Just examples, I haven't looked at the details, they might be plain
wrong )
EG:
C/C++:
  the include directories are just $out/include
                                   $out/lib
Java:
  $out/lib/jars/
  $out/...
Haskell:
  GHC: $out/nix-support/package.conf
    to collect all dependency libraries just do
      source $ghcPkgUtil/nix-support/ghcPkgUtil.sh
      exportGHC_PACKAGE_PATH
....

I think this would not be much effort but help a lot when writing/
reading builders ...

Where would the right place be to put this documentation?
In an Appendix at the nix manual?

Marc Weber
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to