fix: temporary catch2_3 override until upstreamed to nixpkgs

This commit is contained in:
Austin Horstman 2024-01-10 12:17:46 -06:00
parent b90af74d15
commit b239c77d74
No known key found for this signature in database
1 changed files with 19 additions and 2 deletions

View File

@ -1,9 +1,20 @@
{ lib
, pkgs
, waybar
, version
}:
waybar.overrideAttrs (prev: {
let
catch2_3 = {
src = pkgs.fetchFromGitHub
{
owner = "catchorg";
repo = "Catch2";
rev = "v3.5.1";
hash = "sha256-OyYNUfnu6h1+MfCF8O+awQ4Usad0qrdCtdZhYgOY+Vw=";
};
};
in
(waybar.overrideAttrs (oldAttrs: rec {
inherit version;
src = lib.cleanSourceWith {
@ -11,3 +22,9 @@ waybar.overrideAttrs (prev: {
src = lib.cleanSource ../.;
};
})
).override {
catch2_3 = pkgs.catch2_3.overrideAttrs (oldAttrs: {
version = "3.5.1";
src = catch2_3.src;
});
}