Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a3d6e495544b
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4cf775aee937
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 9, 2020

  1. Copy the full SHA
    4cf775a View commit details
Showing with 6 additions and 1 deletion.
  1. +6 −1 pkgs/development/tools/ocaml/cppo/default.nix
7 changes: 6 additions & 1 deletion pkgs/development/tools/ocaml/cppo/default.nix
Original file line number Diff line number Diff line change
@@ -6,9 +6,14 @@ in
assert stdenv.lib.versionAtLeast ocaml.version "3.12";

let param =
if stdenv.lib.versionAtLeast ocaml.version "4.02" then {
if stdenv.lib.versionAtLeast ocaml.version "4.02" then
(if stdenv.lib.versionAtLeast ocaml.version "4.03" then {
version = "1.6.6";
sha256 = "1smcc0l6fh2n0y6bp96c69j5nw755jja99w0b206wx3yb2m4w2hs";
} else {
version = "1.6.5";
sha256 = "03c0amszy28shinvz61hm340jz446zz5763a1pdqlza36kwcj0p0";
}) // {
buildInputs = [ dune ];
extra = {
inherit (dune) installPhase;