nix/overlays: fix attrset error

This commit is contained in:
Mihai Fufezan 2024-11-04 20:01:02 +02:00
parent 753a89a78e
commit 09b23cef06
Signed by: fufexan
SSH key fingerprint: SHA256:SdnKmEpJrDu1+2UO1QpB/Eg4HKcdDi6n+xSRqFNJVpg

View file

@ -46,7 +46,7 @@ in {
#
# TODO: Remove this overlay after the next stable Nixpkgs release.
sdbus-cpp_2 = final: prev: {
sdbus-cpp_2 = prev.sdbus-cpp_2 or final.sdbus-cpp.overrideAttrs (self: _: {
sdbus-cpp_2 = prev.sdbus-cpp_2 or (final.sdbus-cpp.overrideAttrs (self: _: {
version = "2.0.0";
src = final.fetchFromGitHub {
@ -55,6 +55,6 @@ in {
rev = "v${self.version}";
hash = "sha256-W8V5FRhV3jtERMFrZ4gf30OpIQLYoj2yYGpnYOmH2+g=";
};
});
}));
};
}