Merge pull request #79616 from marsam/fix-nix-build

nix: fix build
This commit is contained in:
worldofpeace 2020-02-09 10:28:14 -05:00 committed by GitHub
commit fa74455329
2 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
buildInputs = [ aws-c-common aws-checksums ] ++ lib.optional stdenv.hostPlatform.isMusl libexecinfo;
cmakeFlags = [
"-DBUILD_SHARED_LIBS:BOOL=ON"
"-DCMAKE_MODULE_PATH=${aws-c-common}/lib/cmake"
];

View File

@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
cmakeFlags = [ "-DBUILD_SHARED_LIBS:BOOL=ON" ];
meta = with lib; {
description = "HW accelerated CRC32c and CRC32";
homepage = https://github.com/awslabs/aws-checksums;