68 Commits

Author SHA1 Message Date
Emily 8669954c08 playwright: drop x86_64-darwin from update script 2026-07-15 03:58:17 +01:00
Emily fdb820602b treewide: drop simple x86_64-darwin mentions
To reproduce:

    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: nix-x86_64-darwin
          language: nix
          rule:
            any:
              - pattern: "\"x86_64-darwin\""
                kind: list_expression > string_expression
              - pattern:
                  context: "{ \"x86_64-darwin\" = $EXPR; }"
                  selector: binding
              - pattern:
                  context: "{ x86_64-darwin = $EXPR; }"
                  selector: binding
          fix:
            template: ""
        ' pkgs
    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: json-first-x86_64-darwin
          language: json
          rule:
            kind: object > pair:nth-child(1)
            has:
              pattern: "\"x86_64-darwin\""
              field: key
          fix:
            template: ""
            expandEnd: { regex: "," }
        ' pkgs
    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: json-x86_64-darwin
          language: json
          rule:
            kind: object > pair
            has:
              pattern: "\"x86_64-darwin\""
              field: key
          fix:
            template: ""
            expandStart: { regex: "," }
        ' pkgs
    $ git restore pkgs/by-name/om/omnix/package.nix
    $ git diff --name-only -z \
        | nix shell nixpkgs/3b32825de172d0bc85664f495edb096b10862524#gnused \
            -c xargs -0 sed -i '/^$/N; /^\n\? \+$/d'
    $ treefmt
2026-07-15 03:58:16 +01:00
Michael Daniels 5f07727588 Merge branch 'master' into staging-next 2026-07-05 21:41:03 -04:00
Konstantin Alekseev f2676046a1 playwright: 1.60.0 -> 1.61.1 2026-07-03 14:46:10 +03:00
K900 529a1fc318 playwright.webkit: fix libjxl override 2026-06-28 17:18:22 +03:00
Gaétan Lepage 9e87430ac7 playwright: 1.59.1 -> 1.60.0 (#521811) 2026-06-10 12:22:05 +00:00
Sandro 8350d22b81 libgcc: replace usage of libgcc.lib with libgcc (#515911) 2026-06-10 00:37:57 +00:00
Sigmanificient 3ef130420a playwright: move env variable into env for structuredAttrs 2026-05-25 18:06:00 +02:00
eymeric 7a0415116e libgcc: replace usage of libgcc.lib with libgcc 2026-05-22 11:14:06 +02:00
Konstantin Alekseev 33f539df43 playwright: 1.59.1 -> 1.60.0 2026-05-19 07:14:46 +03:00
K900 e264b7c63a playwright: remove hardcoded mesa dependency
Things that rely on this should use llvmpipeHook instead.
2026-05-10 10:42:25 +03:00
Konstantin Alekseev 7cc8a6b08a playwright: 1.58.2 -> 1.59.1 2026-04-30 08:28:50 +03:00
Konstantin Alekseev 7f6a6fb1c7 playwright: fix WebKit browser on linux
- Replace libxml2 symlink workaround with libxml2_13 which provides
  the libxml2.so.2 soname the bundled WebKit expects
- Set Mesa as EGL vendor fallback when no system EGL is configured,
  enabling WPE WebKit's headless rendering
- Patch out ldconfig-based dlopen check for WebKit which doesn't
   work under Nix (libraries are provided via rpath)
2026-04-16 13:05:14 +03:00
Konstantin Alekseev f445a8f8b9 playwright: use binaries for ubuntu24.04 2026-03-15 20:00:55 +00:00
Konstantin Alekseev 9cded17205 playwright: 1.57.0 -> 1.58.2 2026-03-15 20:00:55 +00:00
Konstantin Alekseev cf5966c180 playwright: move update script into core package 2026-03-15 20:00:55 +00:00
phaer 8f481210b7 playwright-driver: expose selectBrowsers for custom browser selection
Expose the underlying browsers function as `selectBrowsers` passthru,
allowing users to create custom browser sets. Note: all browsers are
enabled by default.

Example usage:
  playwright-driver.selectBrowsers {
    withChromiumHeadlessShell = true;
    withChromium = false;
    withFirefox = false;
    withWebkit = false;
    withFfmpeg = false;
  }
2026-02-24 14:54:16 +01:00
K900 3c4102eef4 Merge remote-tracking branch 'origin/staging-next' into staging 2026-02-06 15:58:23 +03:00
quantenzitrone 43cdce2c39 various: rename references from libXrandr to libxrandr
this shouldn't create any rebuilds
2026-02-06 00:29:06 +01:00
quantenzitrone 543572a942 various: rename references from libXfixes to libxfixes
this shouldn't create any rebuilds
2026-02-06 00:25:40 +01:00
quantenzitrone e733896f5a various: rename references from libXdamage to libxdamage
this shouldn't create any rebuilds
2026-02-06 00:24:46 +01:00
quantenzitrone a8971fc387 various: rename references from libXcomposite to libxcomposite
this shouldn't create any rebuilds
2026-02-06 00:24:45 +01:00
Martin Weinelt 3b6fe22596 playwright: provide expat for chromium-headless-shell 2026-02-01 17:41:00 +01:00
quantenzitrone 7d8132a92c treewide: remove references to the xorg namespace in pkgs (automated)
this creates some eval errors that will be fixed in the next commit

done with the following script:

```fish
\#!/usr/bin/env fish

set packagesjson (nix eval --impure --json --expr '
let
  lib = import ./lib;
in
import pkgs/servers/x11/xorg/default.nix (lib.mapAttrs (
  name: _:
  if name == "lib" then
    lib
  else if name == "config" then
    { allowAliases = false; }
  else
    name
) (__functionArgs (import pkgs/servers/x11/xorg/default.nix))) { }
' | jq)

set one (grep '^    [A-Za-z0-9_-]*$' pkgs/servers/x11/xorg/default.nix | string trim | string replace -r '$' Z | sort | string sub -e -1)
set two (grep '^  [A-Za-z0-9_-]* = [A-Za-z0-9_-]*;$' pkgs/servers/x11/xorg/default.nix | cut -d= -f1 | string trim | string replace -r '$' Z | sort | string sub -e -1)

for arg in $one $two
    set oname $arg
    set nname (echo $packagesjson | jq -r .$oname)

    if test $nname = null
        echo (set_color red)warn:(set_color normal) unknown package xorg.$oname >&2
        continue
    end

    echo $oname "->" $nname

    # replace basic xorg.$name references
    for file in (rg -F "xorg.$oname" --files-with-matches pkgs)
        # special cases
        sd -F "$oname = xorg.$oname;" "$nname = $nname;" $file

        # replace
        sd -F "xorg.$oname" "$nname" $file

        # fixup function arguments

        # prevent duplicate function args
        if grep -E " ($oname|$nname),\$" $file >/dev/null
            continue
        end

        if grep 'xorg\..' $file >/dev/null # case1: there is more so we can't just remove the function arg

            if grep ' xorg,$' $file >/dev/null
                sd ' xorg,$' " xorg,
                $nname," $file

            else if grep ' xorg ? .*,$' $file >/dev/null
                sd 'xorg( ? .*),$' "xorg\$1,
                $nname," $file

            else
                sd -F 'xorg,' "$nname,
                xorg," $file
            end

        else # case there is no more xorg..* so we can just replace the function arg
            sd 'xorg(| ? .*),.*$' "$nname," $file
        end
    end
end

nix fmt
```
2026-01-25 22:28:09 +01:00
Sandro 145b67bd0b playwright: 1.56.0 -> 1.57.0 (#469991) 2026-01-03 02:22:05 +00:00
Simon Gardling cfb630ae41 playwright: 1.56.0 -> 1.57.0 2025-12-24 02:38:11 -05:00
K900 b4bb65b76e playwright: don't copy files that don't exist 2025-12-18 13:49:23 +03:00
Gaétan Lepage 95506c9ea1 playwright: 1.54.0 -> 1.56.1 (#460313) 2025-12-13 13:39:57 +00:00
Theodor Tonum 45e0a68ef8 playwright: 1.55.0 -> 1.56.1 2025-12-09 14:51:12 +01:00
Theodor Tonum 70bade1263 playwright: 1.54.0 -> 1.55.0 2025-12-09 14:51:12 +01:00
Marie Ramlow 9837635bb5 playwright: remove myself from maintainers 2025-12-05 09:47:23 +01:00
Luna Nova 26d39038dc playwright-webkit: apply CMake 4 compat patch to overriden libjxl
This is a backport of the same change that was applied in 166e159ad7
2025-10-01 17:00:12 -07:00
Peder Bergebakken Sundt 75feaf46c2 playwright: 1.53.1 -> 1.54.1 (#427631) 2025-07-24 19:17:57 +02:00
Wolfgang Walther 5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Konstantin Alekseev ae1aa6751c playwright: 1.53.1 -> 1.54.1 2025-07-23 06:06:27 +03:00
Konstantin Alekseev 57a191e6f8 playwright-driver: fix webkit build
fixes #425505
2025-07-23 05:02:51 +03:00
Konstantin Alekseev 2d02dc9fc1 playwright: 1.52.0 -> 1.53.1 2025-06-29 09:22:21 +03:00
Brian McGillion 3319e8281b playwright-webkit: Fix broken build
> auto-patchelf: 2 dependencies could not be satisfied
       > error: auto-patchelf could not satisfy dependency libxml2.so.2 wanted by /nix/store/bz0scnv4x47f9piavdj5l6ww60i60mww-playwright-webkit/minibrowser-wpe/lib/libWPEWebKit-2.0.so.1.6.0
       > error: auto-patchelf could not satisfy dependency libxml2.so.2 wanted by /nix/store/bz0scnv4x47f9piavdj5l6ww60i60mww-playwright-webkit/minibrowser-wpe/bin/.MiniBrowser-wrapped
       > auto-patchelf failed to find all the required dependencies.
       > Add the missing dependencies to --libs or use `--ignore-missing="foo.so.1 bar.so etc.so"`.
       > For full logs, run:
       >   nix log
       >   /nix/store/fqnh2989sp0csn98k8kivrkiq6b4l556-playwright-webkit.drv

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
2025-06-21 10:22:59 +04:00
Gaetan Lepage cc423552db playwright: fix hashes 2025-05-20 18:16:03 +02:00
Paul Haerle a13ba4108f playwright-driver: use upstream chromium build (#383876) 2025-05-19 22:53:15 +02:00
Marie Ramlow 9424a47a65 playwright: add myself as a maintainer 2025-05-09 12:18:38 +02:00
Marie Ramlow 18f34890d2 playwright-driver: use upstream chromium build
Use the exact chromium version upstream uses for playwright, to prevent breaking from browser updates in nixpkgs.
2025-05-09 12:18:35 +02:00
Konstantin Alekseev e462a75ad4 playwright: 1.50.0 -> 1.52.0 2025-05-03 20:43:30 +02:00
Vladimír Čunát a9ab0b117a python3Packages.playwright: nixfmt 2025-04-12 21:36:10 +02:00
Vladimír Čunát 8feef74f9b python3Packages.playwright: don't apply libavif patches
Taking a custom libavif commit and applying patches
meant for another version - that was just bound to break.
https://hydra.nixos.org/build/294635352/nixlog/2/tail
2025-04-12 17:36:25 +02:00
Winter a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera 65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
K900 95f49597d7 Revert "playwright-test: Add PLAYWRIGHT_BROWSERS_PATH to build environment" 2025-02-14 11:04:50 +03:00
Sefa Eyeoglu 87b95e65c2 playwright-test: Add PLAYWRIGHT_BROWSERS_PATH to build environment (#368391) 2025-02-12 11:07:49 +01:00
Konstantin Alekseev a09e851dc4 playwright: 1.48.1 -> 1.50.1 2025-02-07 12:20:02 +01:00