pkgsStatic.capnproto: fix build

Static builds don't seem to work with the autotools-based build
system, but they work fine with the CMake one, so let's just switch to
that.
This commit is contained in:
Alyssa Ross 2021-09-20 13:46:43 +00:00
parent a954cb109d
commit 3fc12275e6

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl }:
{ lib, stdenv, fetchurl, cmake }:
stdenv.mkDerivation rec {
pname = "capnproto";
@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "sha256-soBUp6K/6kK/w5LI0AljDZTXLozoaiOtbxi15yV0Bk8=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
homepage = "https://capnproto.org/";
description = "Cap'n Proto cerealization protocol";