diff options
Diffstat (limited to 'pkgs/applications/networking/browsers')
3 files changed, 10 insertions, 8 deletions
diff --git a/pkgs/applications/networking/browsers/microsoft-edge/browser.nix b/pkgs/applications/networking/browsers/microsoft-edge/browser.nix index 9d3da97fff8ce..a737685190863 100644 --- a/pkgs/applications/networking/browsers/microsoft-edge/browser.nix +++ b/pkgs/applications/networking/browsers/microsoft-edge/browser.nix @@ -180,7 +180,9 @@ stdenv.mkDerivation rec { --add-flags ${lib.escapeShellArg commandLineArgs} ''; - passthru.updateScript = ./update.py; + # We only want automatic updates for stable, beta and dev will get updated by the same script + # and are only used for testing. + passthru = lib.optionalAttrs (channel == "stable") { updateScript = ./update.py; }; meta = with lib; { homepage = "https://www.microsoft.com/en-us/edge"; diff --git a/pkgs/applications/networking/browsers/microsoft-edge/default.nix b/pkgs/applications/networking/browsers/microsoft-edge/default.nix index 62222a80553b2..62fb771cd3a72 100644 --- a/pkgs/applications/networking/browsers/microsoft-edge/default.nix +++ b/pkgs/applications/networking/browsers/microsoft-edge/default.nix @@ -1,20 +1,20 @@ { stable = import ./browser.nix { channel = "stable"; - version = "121.0.2277.113"; + version = "121.0.2277.128"; revision = "1"; - hash = "sha256-VbWM0xC9OlumTf3lBhjd5tdkIx2SGQPf3rhin+rrQvA="; + hash = "sha256-ooZzTDmddlYwWoDMqzFPfbUImT351/ptfdlxKEtI77s="; }; beta = import ./browser.nix { channel = "beta"; - version = "122.0.2365.16"; + version = "122.0.2365.38"; revision = "1"; - hash = "sha256-SeLX7UibXd1nOhxWwMuUTCKK4GkN2TmJPesWhLwCD6A="; + hash = "sha256-u0qk4T695LyhtfMw5929z4U8+jM2o/gbq8DFtD1PNTU="; }; dev = import ./browser.nix { channel = "dev"; - version = "123.0.2380.1"; + version = "123.0.2400.1"; revision = "1"; - hash = "sha256-SBlHXURiPoC5Q7wi67tgnuV2PUw4ffniGq6kmOZtIf0="; + hash = "sha256-I9PT320DJgqJYNwB0pvngyLlV+N2jaS5tOwVwwNHex0="; }; } diff --git a/pkgs/applications/networking/browsers/microsoft-edge/update.py b/pkgs/applications/networking/browsers/microsoft-edge/update.py index 616dc09995051..724a83d09d543 100755 --- a/pkgs/applications/networking/browsers/microsoft-edge/update.py +++ b/pkgs/applications/networking/browsers/microsoft-edge/update.py @@ -31,7 +31,7 @@ def latest_packages(packages: bytes): old_package = latest_packages[channel] if old_package.get_version() < package.get_version(): # type: ignore latest_packages[channel] = package - return latest_packages + return OrderedDict(sorted(latest_packages.items(), key=lambda x:x[0])) def nix_expressions(latest: dict[str, Packages]): |