From 8e8f611d6f8d13a2f2187d345cecdb97bc9b7ba9 Mon Sep 17 00:00:00 2001 From: Philipp Bartsch Date: Sat, 24 Jul 2021 16:59:36 +0200 Subject: [PATCH] dtc: disable checks for darwin The tests fail on darwin aarch64. https://github.com/NixOS/nixpkgs/pull/118700#issuecomment-885892436 Reported-by: Jiuyang Liu (sequencer) --- pkgs/development/compilers/dtc/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/dtc/default.nix b/pkgs/development/compilers/dtc/default.nix index ac1acfe4b8f1..0050dd44b9a9 100644 --- a/pkgs/development/compilers/dtc/default.nix +++ b/pkgs/development/compilers/dtc/default.nix @@ -22,7 +22,9 @@ stdenv.mkDerivation rec { makeFlags = [ "PYTHON=python" ]; installFlags = [ "INSTALL=install" "PREFIX=$(out)" "SETUP_PREFIX=$(out)" ]; - doCheck = true; + # Checks are broken on aarch64 darwin + # https://github.com/NixOS/nixpkgs/pull/118700#issuecomment-885892436 + doCheck = !stdenv.isDarwin; meta = with lib; { description = "Device Tree Compiler";