webcord: move to pkgs/by-name

This commit is contained in:
éclairevoyant 2024-05-04 01:17:58 -04:00
parent 01575f3de7
commit 5c994eccd4
No known key found for this signature in database
GPG Key ID: E3813AEAA02DB54B
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
, copyDesktopItems
, python3
, xdg-utils
, electron_29
, electron
, makeDesktopItem
, nix-update-script
}:
@ -53,7 +53,7 @@ buildNpmPackage rec {
install -Dm644 sources/assets/icons/app.png $out/share/icons/hicolor/256x256/apps/webcord.png
# Add xdg-utils to path via suffix, per PR #181171
makeWrapper '${lib.getExe electron_29}' $out/bin/webcord \
makeWrapper '${lib.getExe electron}' $out/bin/webcord \
--suffix PATH : "${binPath}" \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \
--add-flags $out/lib/node_modules/webcord/

View File

@ -35573,7 +35573,7 @@ with pkgs;
webcamoid = libsForQt5.callPackage ../applications/video/webcamoid { };
webcord = callPackage ../applications/networking/instant-messengers/webcord { };
webcord = callPackage ../by-name/we/webcord/package.nix { electron = electron_29; };
webcord-vencord = callPackage ../applications/networking/instant-messengers/webcord/webcord-vencord { };