git.iko.soy/typeable/nixpkgs
on master help sign in
clightning: add sigining for darwin

We need this for darwin-aarch64 support

commitd39c8a2bf69a0e66b7f36eaa6187f21bc4893f11 authorPeter Neuroth <pet.v.ne@gmail.com> dateFri 4 Mar 2022, 15:56 (5 years ago) parent324f0a4
1 file changed+2−2
pkgs/applications/blockchains/clightning/default.nix+2−2
pkgs/applications/blockchains/clightning/default.nix+2−2
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
3232 # as libwally-core detects the host as darwin and tries to add the -static
3333 # option to libtool, also we have to add the modified gsed package.
3434 nativeBuildInputs = [ autogen autoconf automake gettext pkg-config py3 unzip which ]
35− ++ lib.optionals stdenv.isDarwin [ darwin.cctools ] ++ [ libtool ];
35+ ++ lib.optionals stdenv.isDarwin [ darwin.cctools darwin.autoSignDarwinBinariesHook ] ++ [ libtool ];
3636
3737 buildInputs = [ gmp libsodium sqlite zlib ];
3838
@@ -66,6 +66,6 @@ stdenv.mkDerivation rec {
6666 homepage = "https://github.com/ElementsProject/lightning";
6767 maintainers = with maintainers; [ jb55 prusnak ];
6868 license = licenses.mit;
69− platforms = platforms.linux ++ [ "x86_64-darwin" ];
69+ platforms = platforms.linux ++ platforms.darwin;
7070 };
7171}