erlang-ls: skip tests on darwin

This commit is contained in:
David 2021-07-31 17:36:06 +02:00 committed by Raphael Megzari
parent 35859a355b
commit 71394c3447

View file

@ -1,4 +1,4 @@
{ fetchFromGitHub, fetchHex, rebar3Relx, buildRebar3, rebar3-proper, lib }:
{ fetchFromGitHub, fetchHex, rebar3Relx, buildRebar3, rebar3-proper, stdenv, lib }:
let
version = "0.17.0";
owner = "erlang-ls";
@ -32,7 +32,8 @@ rebar3Relx {
HOME=. rebar3 ct
HOME=. rebar3 proper --constraint_tries 100
'';
doCheck = true;
# tests seem to be a bit flaky on darwin, skip them for now
doCheck = !stdenv.isDarwin;
installPhase = ''
mkdir -p $out/bin
cp _build/default/bin/erlang_ls $out/bin/