feat(3p/protobuf): Check in derivation for proto 3.12 with libcxx

This commit is contained in:
Vincent Ambo 2020-06-07 14:56:56 +01:00
parent 94846503c5
commit 4fb8788c01
2 changed files with 14 additions and 1 deletions

View file

@ -25,7 +25,7 @@ let
stableNixpkgs = import stableNixpkgsSrc {};
exposed = {
# Inherit the packages from nixos-usntable that should be available inside
# Inherit the packages from nixos-unstable that should be available inside
# of the repo. They become available under `pkgs.third_party.<name>`
inherit (nixpkgs)
age
@ -114,6 +114,7 @@ let
texlive
thttpd
tree
which
writeShellScript
writeShellScriptBin
writeText

12
third_party/protobuf/default.nix vendored Normal file
View file

@ -0,0 +1,12 @@
# Pin protobuf to version 3.12, with LLVM.
{ pkgs, ... }:
pkgs.callPackage "${pkgs.nixpkgsSrc}/pkgs/development/libraries/protobuf/generic-v3.nix" {
version = "3.12.2";
sha256 = "1lp368aa206vpic9fmax4k6llnmf28plfvkkm4vqhgphmjqykvl2";
stdenv = pkgs.llvmPackages.libcxxStdenv;
buildPackages = {
inherit (pkgs) which;
stdenv = pkgs.llvmPackages.libcxxStdenv;
};
}