Skip to content

Commit

Permalink
Merge pull request #144941 from r-burns/snappy
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Nov 7, 2021
2 parents 4f81865 + f3de649 commit 84c1377
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/development/libraries/snappy/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ lib, stdenv, fetchFromGitHub, cmake
, fetchpatch
, static ? stdenv.hostPlatform.isStatic
}:

Expand All @@ -13,6 +14,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-JXWl63KVP+CDNWIXYtz+EKqWLJbPKl3ifhr8dKAp/w8=";
};

patches = [
(fetchpatch {
name = "clang-7-compat.patch";
url = "https://github.com/google/snappy/pull/142/commits/658cb2fcf67b626fff2122a3dbf7a3560c58f7ee.patch";
sha256 = "1kg3lxjwmhc7gjx36nylilnf444ddbnr3px1wpvyc6l1nh6zh4al";
})
];

outputs = [ "out" "dev" ];

nativeBuildInputs = [ cmake ];
Expand Down

0 comments on commit 84c1377

Please sign in to comment.