summary refs log tree commit diff
path: root/pkgs/applications/blockchains
diff options
context:
space:
mode:
authorPeter Neuroth <pet.v.ne@gmail.com>2022-03-04 15:56:48 +0100
committerPeter Neuroth <pet.v.ne@gmail.com>2022-03-04 15:56:48 +0100
commitd39c8a2bf69a0e66b7f36eaa6187f21bc4893f11 (patch)
treea77114c038477e178da71b2b28bbf41a4a1160cd /pkgs/applications/blockchains
parent324f0a4e76cc1c2ce42179fc58d2bdd043deb089 (diff)
downloadnixpkgs-d39c8a2bf69a0e66b7f36eaa6187f21bc4893f11.tar
nixpkgs-d39c8a2bf69a0e66b7f36eaa6187f21bc4893f11.tar.gz
nixpkgs-d39c8a2bf69a0e66b7f36eaa6187f21bc4893f11.tar.bz2
nixpkgs-d39c8a2bf69a0e66b7f36eaa6187f21bc4893f11.tar.lz
nixpkgs-d39c8a2bf69a0e66b7f36eaa6187f21bc4893f11.tar.xz
nixpkgs-d39c8a2bf69a0e66b7f36eaa6187f21bc4893f11.tar.zst
nixpkgs-d39c8a2bf69a0e66b7f36eaa6187f21bc4893f11.zip
clightning: add sigining for darwin
We need this for darwin-aarch64 support
Diffstat (limited to 'pkgs/applications/blockchains')
-rw-r--r--pkgs/applications/blockchains/clightning/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/blockchains/clightning/default.nix b/pkgs/applications/blockchains/clightning/default.nix
index b6f149e3a7f..b58524d1eee 100644
--- a/pkgs/applications/blockchains/clightning/default.nix
+++ b/pkgs/applications/blockchains/clightning/default.nix
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
   # as libwally-core detects the host as darwin and tries to add the -static
   # option to libtool, also we have to add the modified gsed package.
   nativeBuildInputs = [ autogen autoconf automake gettext pkg-config py3 unzip which ]
-    ++ lib.optionals stdenv.isDarwin [ darwin.cctools ] ++ [ libtool ];
+    ++ lib.optionals stdenv.isDarwin [ darwin.cctools darwin.autoSignDarwinBinariesHook ] ++ [ libtool ];
 
   buildInputs = [ gmp libsodium sqlite zlib ];
 
@@ -66,6 +66,6 @@ stdenv.mkDerivation rec {
     homepage = "https://github.com/ElementsProject/lightning";
     maintainers = with maintainers; [ jb55 prusnak ];
     license = licenses.mit;
-    platforms = platforms.linux ++ [ "x86_64-darwin" ];
+    platforms = platforms.linux ++ platforms.darwin;
   };
 }