diff --git a/pkgs/applications/networking/instant-messengers/webcord/default.nix b/pkgs/by-name/we/webcord/package.nix similarity index 96% rename from pkgs/applications/networking/instant-messengers/webcord/default.nix rename to pkgs/by-name/we/webcord/package.nix index aebe2998bd27..cfc061208a33 100644 --- a/pkgs/applications/networking/instant-messengers/webcord/default.nix +++ b/pkgs/by-name/we/webcord/package.nix @@ -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/ diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d0a75821593e..1e19afe8bf55 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };