From 0f8774f5ac287e771ca4e216a98f68e495e1a3a8 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Mon, 24 Oct 2022 00:55:38 +0200 Subject: [PATCH] chickenPackages.egg2nix: fix build on aarch64-darwin --- pkgs/development/compilers/chicken/4/chicken.nix | 2 ++ pkgs/development/compilers/chicken/5/chicken.nix | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pkgs/development/compilers/chicken/4/chicken.nix b/pkgs/development/compilers/chicken/4/chicken.nix index 1779d9c3ce54..47625a4d5de9 100644 --- a/pkgs/development/compilers/chicken/4/chicken.nix +++ b/pkgs/development/compilers/chicken/4/chicken.nix @@ -41,6 +41,8 @@ stdenv.mkDerivation { nativeBuildInputs = [ makeWrapper + ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ + darwin.autoSignDarwinBinariesHook ]; buildInputs = lib.optionals (bootstrap-chicken != null) [ diff --git a/pkgs/development/compilers/chicken/5/chicken.nix b/pkgs/development/compilers/chicken/5/chicken.nix index c86731c49363..98dce9af834e 100644 --- a/pkgs/development/compilers/chicken/5/chicken.nix +++ b/pkgs/development/compilers/chicken/5/chicken.nix @@ -34,6 +34,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ makeWrapper + ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ + darwin.autoSignDarwinBinariesHook ]; buildInputs = lib.optionals (bootstrap-chicken != null) [