mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
Merge pull request #237100 from amjoseph-nixpkgs/pr/dtc/fixcross
dtc: fix cross
This commit is contained in:
commit
df55edeeb3
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user