From e27b45cebe4e508da980e2c7463939d6e6a31494 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Tue, 22 Oct 2024 08:14:35 +0300 Subject: [PATCH] nix/overlays: add sdbus overlay --- nix/overlays.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/nix/overlays.nix b/nix/overlays.nix index 335c632..c9cccd7 100644 --- a/nix/overlays.nix +++ b/nix/overlays.nix @@ -15,6 +15,7 @@ in { hypridle = lib.composeManyExtensions [ inputs.hyprlang.overlays.default inputs.hyprutils.overlays.default + inputs.self.overlays.sdbuscpp (final: prev: { hypridle = prev.callPackage ./default.nix { stdenv = prev.gcc13Stdenv; @@ -23,4 +24,17 @@ in { }; }) ]; + + sdbuscpp = final: prev: { + sdbus-cpp = prev.sdbus-cpp.overrideAttrs (self: super: { + version = "2.0.0"; + + src = final.fetchFromGitHub { + owner = "Kistler-group"; + repo = "sdbus-cpp"; + rev = "refs/tags/v${self.version}"; + hash = "sha256-W8V5FRhV3jtERMFrZ4gf30OpIQLYoj2yYGpnYOmH2+g="; + }; + }); + }; }