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
OCaml build support: add oasis build system #65715
Conversation
May you please show a use-case for this |
build for tcslib as contribution as well as usage example for the new buildOasisPackage
@vbgl as you can see in the commit this build helper effectively simplifies writing derivations for packages using oasis to specifying the source and dependencies without having to touch the build itself if the package doesn't do anything non standard. |
@vbgl Thank you for all the improvements and sorry that it takes so many iterations to get things right. |
@GrahamcOfBorg build ocamlPackages.tcslib |
Many thanks for your contribution. Good luck for pgsolver! |
Motivation for this change
Some OCaml packages are built using oasis leading to a lot of repetition in the derivation code.
(I will create PRs for pgsolver and its dependencies once this change is merged)
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)