refactor(3p/abseil_cpp): Inline Nix derivation

This commit is contained in:
Vincent Ambo 2020-05-27 21:52:44 +01:00
parent 6941048b7e
commit 86a35d963d
2 changed files with 14 additions and 4 deletions

View file

@ -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"; version = "20200519-768eb2ca";
src = ./.; 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 ];
};
}

View file

@ -162,7 +162,7 @@ in exposed // {
# Packages to be overridden # Packages to be overridden
originals = { originals = {
inherit (nixpkgs) abseil-cpp notmuch; inherit (nixpkgs) notmuch;
inherit (stableNixpkgs) git; inherit (stableNixpkgs) git;
ffmpeg = nixpkgs.ffmpeg-full; ffmpeg = nixpkgs.ffmpeg-full;
}; };