Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

vscode-extensions.chenglou92.rescript-vscode: 1.54.0 → 1.58.0 (#345434)

authored by Pol Dellaiera and committed by GitHub 90f5daf0 c8477bc1

Changed files
+6 -10
pkgs
applications
editors
vscode
extensions
chenglou92.rescript-vscode
+2 -2
pkgs/applications/editors/vscode/extensions/chenglou92.rescript-vscode/default.nix
··· 5 5 callPackage, 6 6 }: 7 7 let 8 - version = "1.54.0"; 8 + version = "1.58.0"; 9 9 rescript-editor-analysis = callPackage ./rescript-editor-analysis.nix { inherit version; }; 10 10 arch = 11 11 if stdenv.hostPlatform.isLinux then ··· 21 21 name = "rescript-vscode"; 22 22 publisher = "chenglou92"; 23 23 inherit version; 24 - hash = "sha256-c7TJED5YpHRwn7Ooq8sG+N99b7tH6TOgeC9TTYdb4JA="; 24 + hash = "sha256-EuEBbtdCaS4l8ykkxyLLMjEnUMs0IsXoc994a8Pw1Ws="; 25 25 }; 26 26 postPatch = '' 27 27 rm -r ${analysisDir}
+4 -8
pkgs/applications/editors/vscode/extensions/chenglou92.rescript-vscode/rescript-editor-analysis.nix
··· 16 16 owner = "rescript-lang"; 17 17 repo = "rescript-vscode"; 18 18 rev = version; 19 - hash = "sha256-+Ht8qWwxtFWHFMiV/aoZIs2S3SxkOWgdwSKN+akp/LU="; 19 + hash = "sha256-v+qCVge57wvA97mtzbxAX9Fvi7ruo6ZyIC14O8uWl9Y="; 20 20 }; 21 21 22 22 nativeBuildInputs = [ ··· 25 25 ocamlPackages.cppo 26 26 ]; 27 27 28 - # Skip testing phases because they need to download and install node modules 29 - postPatch = '' 30 - cd analysis 31 - substituteInPlace Makefile \ 32 - --replace "build: build-analysis-binary build-reanalyze build-tests" "build: build-analysis-binary" \ 33 - --replace "test: test-analysis-binary test-reanalyze" "test: test-analysis-binary" 28 + buildPhase = '' 29 + dune build -p analysis 34 30 ''; 35 31 36 32 installPhase = '' 37 - install -D -m0555 rescript-editor-analysis.exe $out/bin/rescript-editor-analysis.exe 33 + install -D -m0555 _build/default/analysis/bin/main.exe $out/bin/rescript-editor-analysis.exe 38 34 ''; 39 35 40 36 meta = {