Commit Graph

21 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
Konstantin Alekseev
f2676046a1 playwright: 1.60.0 -> 1.61.1 2026-07-03 14:46:10 +03:00
Konstantin Alekseev
33f539df43 playwright: 1.59.1 -> 1.60.0 2026-05-19 07:14:46 +03:00
Konstantin Alekseev
7cc8a6b08a playwright: 1.58.2 -> 1.59.1 2026-04-30 08:28:50 +03:00
Konstantin Alekseev
9cded17205 playwright: 1.57.0 -> 1.58.2 2026-03-15 20:00:55 +00: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
Simon Gardling
cfb630ae41 playwright: 1.56.0 -> 1.57.0 2025-12-24 02:38:11 -05: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
Konstantin Alekseev
ae1aa6751c playwright: 1.53.1 -> 1.54.1 2025-07-23 06:06:27 +03:00
Konstantin Alekseev
2d02dc9fc1 playwright: 1.52.0 -> 1.53.1 2025-06-29 09:22:21 +03: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
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
Konstantin Alekseev
a09e851dc4 playwright: 1.48.1 -> 1.50.1 2025-02-07 12:20:02 +01:00
Konstantin Alekseev
aeba1dd05a playwright: 1.47.0 -> 1.48.1 2025-01-22 23:02:31 +02:00
Konstantin Alekseev
9585410038 playwright: download browsers for Mac OS 2025-01-22 23:00:39 +02:00
Matthieu C.
174479d040 playwright-driver.browsers: expose raw fontconfig file 2024-09-28 22:35:28 +02:00
phaer
67b5c21b58 playwright: Use pre-built browsers, update them...
via update.sh. This lets us support playwright with browsers
other than chromium on linux. Building them from source would
be one step further.
2024-09-20 14:52:35 +02:00