From eb69d60f11495b2f139fab64b9b0b368ec0f4f46 Mon Sep 17 00:00:00 2001 From: "Matthieu C." <886074+teto@users.noreply.github.com> Date: Sun, 29 Dec 2024 10:56:46 +0100 Subject: [PATCH] playwright: refer to the core project instead of the python test launcher - top-level `playwright` now refers to the github Microsoft/playwright package instead of the python tester launcher. It made no sense to use the top level name for a subproject. You can still refer to the python launcher via `python3Packages.toPythonApplication python3Packages.playwright` Updated release notes. --- nixos/doc/manual/release-notes/rl-2505.section.md | 4 ++++ pkgs/top-level/aliases.nix | 1 - pkgs/top-level/all-packages.nix | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/nixos/doc/manual/release-notes/rl-2505.section.md b/nixos/doc/manual/release-notes/rl-2505.section.md index 3a4f2f869a2f..735d9945de67 100644 --- a/nixos/doc/manual/release-notes/rl-2505.section.md +++ b/nixos/doc/manual/release-notes/rl-2505.section.md @@ -112,6 +112,10 @@ - `buildGoPackage` has been removed. Use `buildGoModule` instead. See the [Go section in the nixpkgs manual](https://nixos.org/manual/nixpkgs/unstable/#sec-language-go) for details. +- top-level `playwright` now refers to the github Microsoft/playwright package + instead of the python tester launcher. You can still refer to the python + launcher via `python3Packages.toPythonApplication python3Packages.playwright` + - `strawberry` has been updated to 1.2, which drops support for the VLC backend and Qt 5. The `strawberry-qt5` package and `withGstreamer`/`withVlc` override options have been removed due to this. diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 5ec629b5e674..ec91cde37c60 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1052,7 +1052,6 @@ mapAliases { pipewire_0_2 = throw "pipewire_0_2 has been removed as it is outdated and no longer used"; # Added 2024-07-28 pipewire-media-session = throw "pipewire-media-session is no longer maintained and has been removed. Please use Wireplumber instead."; - playwright = lib.warnOnInstantiate "'playwright' will reference playwright-driver in 25.05. Reference 'python3Packages.playwright' for the python test launcher" (python3Packages.toPythonApplication python3Packages.playwright); # Added 2024-10-04 pleroma-otp = throw "'pleroma-otp' has been renamed to/replaced by 'pleroma'"; # Converted to throw 2024-10-17 pltScheme = racket; # just to be sure poretools = throw "poretools has been removed from nixpkgs, as it was broken and unmaintained"; # Added 2024-06-03 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 27be71eb53c4..b0e2a02f70d7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4770,6 +4770,7 @@ with pkgs; playbar2 = libsForQt5.callPackage ../applications/audio/playbar2 { }; + playwright = playwright-driver; playwright-driver = (callPackage ../development/web/playwright/driver.nix { }).playwright-core; playwright-test = (callPackage ../development/web/playwright/driver.nix { }).playwright-test;