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: 366dc671a956
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ccce14ed53aa
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jan 8, 2020

  1. Copy the full SHA
    ccce14e View commit details
Showing with 14 additions and 2 deletions.
  1. +14 −2 pkgs/development/ocaml-modules/lwt/ppx.nix
16 changes: 14 additions & 2 deletions pkgs/development/ocaml-modules/lwt/ppx.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
{ buildDunePackage, lwt, ppx_tools_versioned }:
{ fetchzip, buildDunePackage, lwt, ppx_tools_versioned }:

buildDunePackage {
pname = "lwt_ppx";
version = "1.2.4";

src = fetchzip {
# `lwt_ppx` has a different release cycle than Lwt, but it's included in
# one of its release bundles.
# Because there could exist an Lwt release _without_ a `lwt_ppx` release,
# this `src` field doesn't inherit from the Lwt derivation.
#
# This is particularly useful for overriding Lwt without breaking `lwt_ppx`,
# as new Lwt releases may contain broken `lwt_ppx` code.
url = "https://github.com/ocsigen/lwt/archive/4.4.0.tar.gz";
sha256 = "1l97zdcql7y13fhaq0m9n9xvxf712jg0w70r72fvv6j49xm4nlhi";
};

inherit (lwt) src version;

propagatedBuildInputs = [ lwt ppx_tools_versioned ];