refactor(3p/abseil_cpp): Inline Nix derivation
This commit is contained in:
parent
6941048b7e
commit
86a35d963d
2 changed files with 14 additions and 4 deletions
16
third_party/abseil_cpp/default.nix
vendored
16
third_party/abseil_cpp/default.nix
vendored
|
@ -1,6 +1,16 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
pkgs.originals.abseil-cpp.overrideAttrs(_: {
|
||||
let inherit (pkgs) cmake llvmPackages;
|
||||
in llvmPackages.libcxxStdenv.mkDerivation rec {
|
||||
pname = "abseil-cpp";
|
||||
version = "20200519-768eb2ca";
|
||||
src = ./.;
|
||||
})
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An open-source collection of C++ code designed to augment the C++ standard library";
|
||||
homepage = https://abseil.io/;
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.andersk ];
|
||||
};
|
||||
}
|
||||
|
|
2
third_party/default.nix
vendored
2
third_party/default.nix
vendored
|
@ -162,7 +162,7 @@ in exposed // {
|
|||
|
||||
# Packages to be overridden
|
||||
originals = {
|
||||
inherit (nixpkgs) abseil-cpp notmuch;
|
||||
inherit (nixpkgs) notmuch;
|
||||
inherit (stableNixpkgs) git;
|
||||
ffmpeg = nixpkgs.ffmpeg-full;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue