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

ocamlPackages.opium: init at 0.17.1 #62455

Merged
merged 2 commits into from Jul 7, 2019
Merged

ocamlPackages.opium: init at 0.17.1 #62455

merged 2 commits into from Jul 7, 2019

Conversation

pmahoney
Copy link
Contributor

@pmahoney pmahoney commented Jun 2, 2019

Motivation for this change

To use opium ocaml library (and hmap, a dependency of opium)

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.


buildDunePackage rec {
pname = "opium";
inherit (opium_kernel) version src meta minimumOCamlVersion;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the difference between these two packages, one just seems to have more build inputs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's just how upstream has organized things. Following examples like cohttp where a single source is used in multiple derivations.

pkgs/development/ocaml-modules/opium_kernel/default.nix Outdated Show resolved Hide resolved
pkgs/development/ocaml-modules/hmap/default.nix Outdated Show resolved Hide resolved
pkgs/development/ocaml-modules/hmap/default.nix Outdated Show resolved Hide resolved
pkgs/development/ocaml-modules/hmap/default.nix Outdated Show resolved Hide resolved
pkgs/development/ocaml-modules/hmap/default.nix Outdated Show resolved Hide resolved
@vbgl
Copy link
Contributor

vbgl commented Jul 7, 2019

@GrahamcOfBorg build ocamlPackages.opium

@vbgl vbgl merged commit e485b10 into NixOS:master Jul 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants