Commit Graph

30 Commits

Author SHA1 Message Date
liberodark
499bb1d40e goose-cli: fix eval on unsupported systems 2026-08-08 08:59:08 +02: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
2kybe3
3d589588ff treewide: follow some GitHub redirects for fetchFromGitHub
generated using https://git.kybe.xyz/2kybe3/nixpkgs-github-redirect

continuation of: #538419
2026-07-05 10:07:48 +02:00
Harinn
d9b7c69c3d goose-cli: add caniko as a maintainer 2026-03-26 22:49:37 +07:00
Harinn
ee3125aae2 goose-cli: fix missing extension dependencies 2026-03-26 22:49:37 +07:00
Harinn
ae580b011f goose-cli: skip broken tests on aarch64-linux 2026-03-21 12:53:35 +07:00
Harinn
6ec1e96e19 goose-cli: add versionCheckHook 2026-03-21 00:17:35 +07:00
Harinn
e6e897d3cc goose-cli: 1.23.2 -> 1.28.0 2026-03-21 00:17:35 +07:00
Dan Xin
57e5aa0cea goose-cli: 1.19.1 -> 1.23.2
Signed-off-by: Dan Xin <davinci42.cn@gmail.com>
2026-02-09 20:25:14 +08: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
R. Ryantm
3e39859295 goose-cli: 1.16.1 -> 1.19.1 2026-01-12 04:27:23 +00:00
brittonr
a0e278d94b goose-cli: 1.13.1 -> 1.16.1 2025-12-10 18:23:18 -05:00
brittonr
fa7605c459 goose-cli: 1.11.0 -> 1.13.1 2025-11-10 15:33:10 +07:00
Godefroid Chapelle
7942561d26 goose-cli: 1.6.0 -> 1.11.0 2025-10-18 17:25:01 +02:00
Zexin Yuan
c54f5d632b goose-cli: 1.4.0 -> 1.6.0 2025-08-24 21:41:44 +08:00
Tyler Hardin
c58f8542c1 goose-cli: 1.0.30 -> 1.4.0 2025-08-18 15:50:01 -04:00
TomaSajt
398b16e16c treewide: remove useFetchCargoVendor usages 2025-07-26 11:39:35 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
R. Ryantm
638f2e3f5f goose-cli: 1.0.29 -> 1.0.30 2025-06-29 04:16:06 +00:00
R. Ryantm
c8fb59161b goose-cli: 1.0.28 -> 1.0.29 2025-06-20 10:07:44 +00:00
Jonathan Bowman
d21dd09d6b goose-cli: 1.0.27 -> 1.0.28 2025-06-17 18:20:41 -04:00
ROCKTAKEY
c2ddfc198c goose-cli: 1.0.24 -> 1.0.27
- Update version string from 1.0.24 to 1.0.27
- Update hashes
- Add protobuf to nativeBuildInputs (required by lance-encoding dependency, which is introduced on bf1c0d51e4)
- Skip tests that require API keys (introduced on 2f8f8e5767)
2025-06-14 03:58:57 +09:00
Tyler Hardin
e226f2e6cf goose-cli: 1.0.23 -> 1.0.24 2025-06-03 23:25:29 -04:00
Tyler Hardin
89d1c8d143 goose-cli: 1.0.17 -> 1.0.23 2025-05-14 01:44:27 -04:00
emaryn
71cdfb2dad goose-cli: fix license 2025-04-03 07:55:34 +00:00
emaryn
b861e1a5c3 goose-cli: 1.0.15 -> 1.0.17 2025-04-03 07:54:41 +00:00
fusion44
01707eca2d goose-cli: 1.0.10 -> 1.0.15 2025-03-26 13:54:29 +01:00
cloudripper
b48234a8a0 goose-cli: 1.0.7 -> 1.0.10, add cloudripper as maintainer, remove nayeko as maintainer 2025-02-26 18:31:07 -08:00
nayeko
5d6e33ace8 goose-cli: 1.0.4 -> 1.0.7 2025-02-15 22:38:01 +00:00
nayeko
9ab93e1f79 goose-cli: init at 1.0.4 2025-02-03 21:39:47 +08:00