Skip to content

Commit

Permalink
Merge pull request #237100 from amjoseph-nixpkgs/pr/dtc/fixcross
Browse files Browse the repository at this point in the history
dtc: fix cross
  • Loading branch information
NickCao authored Jun 13, 2023
2 parents cf264c3 + 4cccbcd commit df55ede
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions pkgs/development/compilers/dtc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,15 @@ stdenv.mkDerivation (finalAttrs: {
(lib.mesonBool "tests" finalAttrs.doCheck)
];

# Checks are broken on aarch64 darwin
# https://github.com/NixOS/nixpkgs/pull/118700#issuecomment-885892436
doCheck = !stdenv.isDarwin;
doCheck =
# Checks are broken on aarch64 darwin
# https://github.com/NixOS/nixpkgs/pull/118700#issuecomment-885892436
!stdenv.isDarwin &&

# we must explicitly disable this here so that mesonFlags receives
# `-Dtests=disabled`; without it meson will attempt to run
# hostPlatform binaries during the configurePhase.
(with stdenv; buildPlatform.canExecute hostPlatform);

meta = with lib; {
description = "Device Tree Compiler";
Expand Down

0 comments on commit df55ede

Please sign in to comment.