From 0d6512ecb1e26a948c2163b9e51365485998827c Mon Sep 17 00:00:00 2001 From: Yuriy Taraday Date: Mon, 17 Jul 2023 16:54:59 +0200 Subject: [PATCH] nickel: disable checks on Darwin Workaround to address build issue introduced in 1.1.1 update. --- pkgs/development/interpreters/nickel/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/nickel/default.nix b/pkgs/development/interpreters/nickel/default.nix index d74bfbc4f38..ea69852b7ab 100644 --- a/pkgs/development/interpreters/nickel/default.nix +++ b/pkgs/development/interpreters/nickel/default.nix @@ -3,13 +3,14 @@ , fetchFromGitHub , python3 , nix-update-script +, stdenv }: rustPlatform.buildRustPackage rec { pname = "nickel"; version = "1.1.1"; - src = fetchFromGitHub { + src = fetchFromGitHub { owner = "tweag"; repo = pname; rev = "refs/tags/${version}"; @@ -24,6 +25,9 @@ rustPlatform.buildRustPackage rec { 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 { }; meta = with lib; {