From e847adaa30613d5cd19b6c69f9739348f3f75a7e Mon Sep 17 00:00:00 2001 From: "Becker A." Date: Tue, 3 Sep 2024 05:51:19 -0600 Subject: [PATCH] ghdl: enable builds on "x86_64-darwin" (#335975) * ghdl: enable builds on "x86_64-darwin" * oops Co-authored-by: Aleksana --- pkgs/by-name/gh/ghdl/package.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/gh/ghdl/package.nix b/pkgs/by-name/gh/ghdl/package.nix index 5125f463e6d9..181647ca4e2e 100644 --- a/pkgs/by-name/gh/ghdl/package.nix +++ b/pkgs/by-name/gh/ghdl/package.nix @@ -120,6 +120,8 @@ stdenv.mkDerivation (finalAttrs: { license = lib.licenses.gpl2Plus; mainProgram = "ghdl"; maintainers = with lib.maintainers; [ lucus16 thoughtpolice ]; - platforms = lib.platforms.linux; + platforms = + lib.platforms.linux + ++ lib.optionals (backend == "mcode" || backend == "llvm") [ "x86_64-darwin" ]; }; })