Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: webcord 4.12.1 -> 4.13.0 https://github.com/SpacingBat3/WebCord/releases attrpath: webcord Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] skipping because derivation has updateScript [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/f5aa1g94z96xcsmd8b8dnf2prn8csaai-packages.json.drv building '/nix/store/f5aa1g94z96xcsmd8b8dnf2prn8csaai-packages.json.drv'... Going to be running update for following packages: - webcord-4.12.1 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - webcord-4.12.1: UPDATING ... - webcord-4.12.1: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/we/webcord-vencord/package.nix b/pkgs/by-name/we/webcord-vencord/package.nix index b2e285c54684..7053f4bb5a7c 100644 --- a/pkgs/by-name/we/webcord-vencord/package.nix +++ b/pkgs/by-name/we/webcord-vencord/package.nix @@ -1,6 +1,6 @@ { # allow overriding electron - electron_39, + electron_41, webcord, replaceVars, lib, @@ -8,7 +8,7 @@ }: # nixpkgs-update: no auto update -(webcord.override { inherit electron_39; }).overrideAttrs (old: { +(webcord.override { inherit electron_41; }).overrideAttrs (old: { pname = "webcord-vencord"; patches = (old.patches or [ ]) ++ [ diff --git a/pkgs/by-name/we/webcord/package.nix b/pkgs/by-name/we/webcord/package.nix index 64230ad11491..6b59db23ff8b 100644 --- a/pkgs/by-name/we/webcord/package.nix +++ b/pkgs/by-name/we/webcord/package.nix @@ -5,23 +5,23 @@ copyDesktopItems, python3, xdg-utils, - electron_39, + electron_41, makeDesktopItem, nodejs_22, }: buildNpmPackage.override { nodejs = nodejs_22; } rec { pname = "webcord"; - version = "4.12.1"; + version = "4.13.0"; src = fetchFromGitHub { owner = "SpacingBat3"; repo = "WebCord"; tag = "v${version}"; - hash = "sha256-wUlraWv23BRXag3MNqjQy9Ntwz9UO2jNsNt758+GUXo="; + hash = "sha256-XUhaGZkHTLZlOuzh7aN9tIk7uBayiEID4MbmADhwvLs="; }; - npmDepsHash = "sha256-quBWEO9mi/dYQDap6ivN8oxDfGcxedqS1E45ExmceE0="; + npmDepsHash = "sha256-KJMHQlCW/2AYG2Z0oshyMEvFiKsZgG4NKmsHMYrnyUE="; makeCacheWritable = true; @@ -56,7 +56,7 @@ buildNpmPackage.override { nodejs = nodejs_22; } 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_39}' $out/bin/webcord \ + makeWrapper '${lib.getExe electron_41}' $out/bin/webcord \ --suffix PATH : "${binPath}" \ --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}" \ --add-flags $out/lib/node_modules/webcord/ No auto update branch exists Successfully finished processing [check][nixpkgs-review] ## `nixpkgs-review` result Generated using [`nixpkgs-review`](https://github.com/Mic92/nixpkgs-review). Command: `nixpkgs-review --extra-nixpkgs-config '{ allowBroken = false; }'` Commit: `d937969ee65d55318678a5a1f379ff388b028098` --- ### `x86_64-linux`
:white_check_mark: 2 packages built:
Automatic update generated by [nixpkgs-update](https://github.com/nix-community/nixpkgs-update) tools. This update was made based on information from passthru.updateScript. meta.description for webcord is: Discord and SpaceBar electron-based client implemented without Discord API meta.homepage for webcord is: https://github.com/SpacingBat3/WebCord meta.changelog for webcord is: https://github.com/SpacingBat3/WebCord/releases/tag/v4.13.0 ###### Updates performed - Ran passthru.UpdateScript ###### To inspect upstream changes ###### Impact Checks done --- - built on NixOS - The tests defined in `passthru.tests`, if any, passed - found 4.13.0 with grep in /nix/store/g9j1421byk0hszl9hvi3f3hsicysc09n-webcord-4.13.0 - found 4.13.0 in filename of file in /nix/store/g9j1421byk0hszl9hvi3f3hsicysc09n-webcord-4.13.0 ---
Rebuild report (if merged into master) (click to expand) ``` 3 total rebuild path(s) 3 package rebuild(s) First fifty rebuilds by attrpath webcord webcord-vencord ```
Instructions to test this update (click to expand) --- Either **download from the cache**: ``` nix-store -r /nix/store/g9j1421byk0hszl9hvi3f3hsicysc09n-webcord-4.13.0 \ --option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nix-community.org/' \ --option trusted-public-keys ' nixpkgs-update-cache.nix-community.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= ' ``` (The nixpkgs-update cache is only trusted for this store-path realization.) For the cached download to work, your user must be in the `trusted-users` list or you can use `sudo` since root is effectively trusted. Or, **build yourself**: ``` nix-build -A webcord https://github.com/r-ryantm/nixpkgs/archive/d937969ee65d55318678a5a1f379ff388b028098.tar.gz ``` Or: ``` nix build github:r-ryantm/nixpkgs/d937969ee65d55318678a5a1f379ff388b028098#webcord ``` After you've downloaded or built it, look at the files and if there are any, run the binaries: ``` ls -la /nix/store/g9j1421byk0hszl9hvi3f3hsicysc09n-webcord-4.13.0 ls -la /nix/store/g9j1421byk0hszl9hvi3f3hsicysc09n-webcord-4.13.0/bin ``` ---

### Pre-merge build results We have automatically built all packages that will get rebuilt due to this change. This gives evidence on whether the upgrade will break dependent packages. Note sometimes packages show up as _failed to build_ independent of the change, simply because they are already broken on the target branch. ## `nixpkgs-review` result Generated using [`nixpkgs-review`](https://github.com/Mic92/nixpkgs-review). Command: `nixpkgs-review --extra-nixpkgs-config '{ allowBroken = false; }'` Commit: `d937969ee65d55318678a5a1f379ff388b028098` --- ### `x86_64-linux`
:white_check_mark: 2 packages built:
--- ###### Maintainer pings cc @huantianad @NotAShelf for [testing](https://github.com/nix-community/nixpkgs-update/blob/main/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do). > [!TIP] > As a maintainer, if your package is located under `pkgs/by-name/*`, you can comment **`@NixOS/nixpkgs-merge-bot merge`** to automatically merge this update using the [`nixpkgs-merge-bot`](https://github.com/NixOS/nixpkgs/blob/master/ci/README.md#nixpkgs-merge-bot). https://api.github.com/repos/NixOS/nixpkgs/pulls/507621