From ac2df3eaeff6b69536a8b57b905853bd2d43840d Mon Sep 17 00:00:00 2001 From: Jeremie Charrier Date: Tue, 29 Apr 2025 13:17:55 -0400 Subject: [PATCH] yubihsm-shell: fix build for Darwin --- pkgs/by-name/yu/yubihsm-shell/package.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkgs/by-name/yu/yubihsm-shell/package.nix b/pkgs/by-name/yu/yubihsm-shell/package.nix index 58358991c087..2e67e464e636 100644 --- a/pkgs/by-name/yu/yubihsm-shell/package.nix +++ b/pkgs/by-name/yu/yubihsm-shell/package.nix @@ -62,10 +62,6 @@ stdenv.mkDerivation rec { NIX_CFLAGS_COMPILE="$(pkg-config --cflags libpcsclite) $NIX_CFLAGS_COMPILE" ''; - cmakeFlags = lib.optionals stdenv.hostPlatform.isDarwin [ - "-DDISABLE_LTO=ON" - ]; - # causes redefinition of _FORTIFY_SOURCE hardeningDisable = [ "fortify3" ]; @@ -75,6 +71,5 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ matthewcroughan ]; license = licenses.asl20; platforms = platforms.all; - broken = stdenv.hostPlatform.isDarwin; }; }