diff options
author | Bobby Rong <rjl931189261@126.com> | 2024-03-26 10:50:14 +0800 |
---|---|---|
committer | Maxine Aubrey <max@ine.dev> | 2024-04-22 21:11:24 +0200 |
commit | 851cfda4bdff06a45384e3a2fc28451b73c2be1b (patch) | |
tree | a793a4cee4b56322afd5a95f7fd8497911e93f29 /pkgs | |
parent | 1b1c76625134b91877af8464238c7fbd9a577c42 (diff) |
pantheon.elementary-notifications: Fix build with Vala 0.56.16
See the mentioned issue for details. Note that it is no longer possible to build this with older Vala after this change, so I don't really know if this is actually an elementary issue.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/desktops/pantheon/services/elementary-notifications/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/desktops/pantheon/services/elementary-notifications/default.nix b/pkgs/desktops/pantheon/services/elementary-notifications/default.nix index 475503bfe4209..43716abfd93f9 100644 --- a/pkgs/desktops/pantheon/services/elementary-notifications/default.nix +++ b/pkgs/desktops/pantheon/services/elementary-notifications/default.nix @@ -44,6 +44,12 @@ stdenv.mkDerivation rec { libhandy ]; + postPatch = '' + # https://github.com/elementary/notifications/issues/222 + substituteInPlace src/FdoActionGroup.vala \ + --replace-fail "out VariantType" "out unowned VariantType" + ''; + passthru = { updateScript = nix-update-script { }; }; |