nickel: disable checks on Darwin

Workaround to address build issue introduced in 1.1.1 update.
This commit is contained in:
Yuriy Taraday 2023-07-17 16:54:59 +02:00 committed by Anderson Torres
parent 07c99afe09
commit 0d6512ecb1

View file

@ -3,13 +3,14 @@
, fetchFromGitHub , fetchFromGitHub
, python3 , python3
, nix-update-script , nix-update-script
, stdenv
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "nickel"; pname = "nickel";
version = "1.1.1"; version = "1.1.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tweag"; owner = "tweag";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
@ -24,6 +25,9 @@ rustPlatform.buildRustPackage rec {
python3 python3
]; ];
# Disable checks on Darwin because of issue described in https://github.com/tweag/nickel/pull/1454
doCheck = !stdenv.isDarwin;
passthru.updateScript = nix-update-script { }; passthru.updateScript = nix-update-script { };
meta = with lib; { meta = with lib; {