electron: add libnotify to the RPATH

Electron loads libnotify dynamically via dlopen(3), which fails if it
is not in the RPATH. This, in turn, breaks desktop notifications in,
e.g., mattermost-desktop.

+12
+12
pkgs/development/tools/electron/common.nix
··· 190 190 runHook postInstall 191 191 ''; 192 192 193 + postFixup = 194 + let 195 + libPath = lib.makeLibraryPath [ 196 + libnotify 197 + ]; 198 + in 199 + base.postFixup + '' 200 + patchelf \ 201 + --add-rpath "${libPath}" \ 202 + $out/libexec/electron/electron 203 + ''; 204 + 193 205 requiredSystemFeatures = [ "big-parallel" ]; 194 206 195 207 passthru = {