summaryrefslogtreecommitdiffstats
path: root/pkgs/development/compilers/chicken
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2022-10-24 00:55:38 +0200
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2022-10-24 00:55:38 +0200
commit0f8774f5ac287e771ca4e216a98f68e495e1a3a8 (patch)
tree60cf79b901aa9281a9e19f006566883772692a36 /pkgs/development/compilers/chicken
parentb286501a5eadad160362299c15941a642c427317 (diff)
chickenPackages.egg2nix: fix build on aarch64-darwin
Diffstat (limited to 'pkgs/development/compilers/chicken')
-rw-r--r--pkgs/development/compilers/chicken/4/chicken.nix2
-rw-r--r--pkgs/development/compilers/chicken/5/chicken.nix2
2 files changed, 4 insertions, 0 deletions
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) [