From 87076301d359d8a1d161f9077e9b0e625567dace Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Wed, 9 Apr 2025 13:05:40 +0200 Subject: [PATCH] nix: Fix cross Introduced in - https://github.com/NixOS/nixpkgs/pull/393509 - and https://github.com/NixOS/nixpkgs/pull/396773 --- pkgs/tools/package-management/nix/common-meson.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/package-management/nix/common-meson.nix b/pkgs/tools/package-management/nix/common-meson.nix index d6d27f18ebd4..2639da6b8eca 100644 --- a/pkgs/tools/package-management/nix/common-meson.nix +++ b/pkgs/tools/package-management/nix/common-meson.nix @@ -199,6 +199,7 @@ stdenv.mkDerivation (finalAttrs: { mesonFlags = [ + (lib.mesonBool "unit-tests" (stdenv.buildPlatform.canExecute stdenv.hostPlatform)) (lib.mesonBool "bindings" false) (lib.mesonOption "libstore:store-dir" storeDir) (lib.mesonOption "libstore:localstatedir" stateDir)