Unverified Commit 97fab1a3 authored by Jayesh Bhoot's avatar Jayesh Bhoot Committed by GitHub
Browse files

chenglou92.rescript-vscode: 1.8.1 -> 1.16.0 (#231648)



Co-authored-by: default avatarJayesh Bhoot <jayesh@bhoot.sh>
parent 391b059c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
{ lib, stdenv, vscode-utils, callPackage }:
let
  version = "1.8.1";
  version = "1.16.0";
  rescript-editor-analysis = callPackage ./rescript-editor-analysis.nix { inherit version; };
  arch =
    if stdenv.isLinux then "linux"
@@ -13,7 +13,7 @@ vscode-utils.buildVscodeMarketplaceExtension rec {
    name = "rescript-vscode";
    publisher = "chenglou92";
    inherit version;
    sha256 = "sha256-XZG0PRzc3wyAVq9tQeGDlaUZg5YAgkPxJ3NsrdUHoOk=";
    sha256 = "sha256-JoC9+NkbLAZXkOKDDMB0Xgzmn+w90pHcokerMrdACi4=";
  };
  postPatch = ''
    rm -r ${analysisDir}
+3 −3
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, bash, ocaml, dune_3, version }:
{ lib, stdenv, fetchFromGitHub, bash, ocaml, ocamlPackages, dune_3, version }:

stdenv.mkDerivation {
  pname = "rescript-editor-analysis";
@@ -8,10 +8,10 @@ stdenv.mkDerivation {
    owner = "rescript-lang";
    repo = "rescript-vscode";
    rev = version;
    sha256 = "sha256-a8otK0BxZbl0nOp4QWQRkjb5fM85JA4nVkLuKAz71xU=";
    sha256 = "sha256-+Ht8qWwxtFWHFMiV/aoZIs2S3SxkOWgdwSKN+akp/LU=";
  };

  nativeBuildInputs = [ ocaml dune_3 ];
  nativeBuildInputs = [ ocaml dune_3 ocamlPackages.cppo ];

  # Skip testing phases because they need to download and install node modules
  postPatch = ''