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: 418b37a77865
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 97fc985fa292
Choose a head ref
  • 3 commits
  • 4 files changed
  • 2 contributors

Commits on Mar 27, 2018

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    vbgl Vincent Laporte
    Copy the full SHA
    be48c2e View commit details
  2. flow: 0.66.0 -> 0.68.0

    vbgl committed Mar 27, 2018

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    vbgl Vincent Laporte
    Copy the full SHA
    1874f09 View commit details
  3. Merge pull request #37936 from vbgl/flow-0.68

    flow: 0.66.0 -> 0.68.0
    Mic92 authored Mar 27, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    97fc985 View commit details
Showing with 28 additions and 5 deletions.
  1. +19 −0 pkgs/development/ocaml-modules/lwt/ppx.nix
  2. +4 −4 pkgs/development/tools/analysis/flow/default.nix
  3. +1 −1 pkgs/top-level/all-packages.nix
  4. +4 −0 pkgs/top-level/ocaml-packages.nix
19 changes: 19 additions & 0 deletions pkgs/development/ocaml-modules/lwt/ppx.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{ stdenv, jbuilder, ocaml, findlib, lwt, ppx_tools_versioned }:

stdenv.mkDerivation {
name = "ocaml${ocaml.version}-lwt_ppx-${lwt.version}";

inherit (lwt) src;

buildInputs = [ jbuilder ocaml findlib ppx_tools_versioned ];

propagatedBuildInputs = [ lwt ];

buildPhase = "jbuilder build -p lwt_ppx";
installPhase = "${jbuilder.installPhase} lwt_ppx.install";

meta = {
description = "Ppx syntax extension for Lwt";
inherit (lwt.meta) license platforms homepage maintainers;
};
}
8 changes: 4 additions & 4 deletions pkgs/development/tools/analysis/flow/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{ stdenv, fetchFromGitHub, lib, ocaml, libelf, cf-private, CoreServices,
findlib, camlp4, sedlex, ocamlbuild, ocaml_lwt, wtf8, dtoa }:
findlib, camlp4, sedlex, ocamlbuild, lwt_ppx, wtf8, dtoa }:

with lib;

stdenv.mkDerivation rec {
version = "0.66.0";
version = "0.68.0";
name = "flow-${version}";

src = fetchFromGitHub {
owner = "facebook";
repo = "flow";
rev = "v${version}";
sha256 = "0l1sdd1n0llmz8m81vym3zhcn824sr9w46h9jpb7i7wrcm4y410d";
sha256 = "0wags0msk7s1z3gi6ns6d7zdpqk8wh5ryafvdyk6zwqwhaqgr5jw";
};

installPhase = ''
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
'';

buildInputs = [
ocaml libelf findlib camlp4 sedlex ocamlbuild ocaml_lwt wtf8 dtoa
ocaml libelf findlib camlp4 sedlex ocamlbuild lwt_ppx wtf8 dtoa
] ++ optionals stdenv.isDarwin [ cf-private CoreServices ];

meta = with stdenv.lib; {
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -7780,7 +7780,7 @@ with pkgs;
flow = callPackage ../development/tools/analysis/flow {
inherit (darwin.apple_sdk.frameworks) CoreServices;
inherit (darwin) cf-private;
inherit (ocamlPackages) ocaml findlib camlp4 sedlex ocamlbuild ocaml_lwt
inherit (ocamlPackages) ocaml findlib camlp4 sedlex ocamlbuild lwt_ppx
wtf8 dtoa;
};

4 changes: 4 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
@@ -374,6 +374,10 @@ let

ocaml_lwt = if lib.versionOlder "4.02" ocaml.version then lwt3 else lwt2;

lwt_ppx = callPackage ../development/ocaml-modules/lwt/ppx.nix {
lwt = lwt3;
};

lwt_react = callPackage ../development/ocaml-modules/lwt_react {
lwt = lwt3;
};