Commit Graph

16 Commits

Author SHA1 Message Date
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
Yohann Boniface
7b8447e768 maintainers: drop ghuntley (#539359) 2026-07-14 21:31:01 +00:00
Herwig Hochleitner
1d6cee4721 openvscode-server: Add support for use with pkgs.vscode-with-extensions (#447293) 2026-07-12 13:18:57 +00:00
Phorcys
3fab0235db maintainers: drop ghuntley
Last commits on maintained packages:
- coder: ["coder: resolve hash mismatch in fixed-output derivation" (23091da)](23091da20c) on Mar 12, 2023
- mastodon: ["mastodon: add ghuntley as maintainer
" (6e0c9dc)](6e0c9dcd87) on Nov 16, 2022
- openvscode-server: none in commit history
- pulumi: ["pulumi: 2.6.1 -> 2.10.2" (a922b0b)](a922b0bf6f) on Sep 24, 2020
2026-07-07 21:23:59 +02:00
Antoine du Hamel
201ccf894a treewide: fix mentions for nodejs.python 2026-03-31 14:23:37 +02:00
Herwig Hochleitner
fbcbcec64f openvscode-server: 1.106.3 -> 1.109.5 2026-03-01 13:50:01 +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
quantenzitrone
c7c77c1aee treewide: remove all uses of 'with xorg;' in pkgs
this shouldn't create any rebuilds

this was done manually by grepping for `with xorg` and `with pkgs.xorg`
2026-01-25 22:26:00 +01:00
Herwig Hochleitner
e3cd37e8b9 openvscode-server: build with nodejs_22 2026-01-20 22:19:54 +01:00
Herwig Hochleitner
2607723b28 openvscode-server: 1.103.1 -> 1.106.3 2025-12-17 03:58:55 +01:00
waestm
a7a8da9df3 openvscode-server: Add support for use with pkgs.vscode-with-extensions
vscode-with-extensions can use any vscode; currently vscode and vscodium are supported. This requires the vscode nix expression to declare executableName and longName. Adding these to openvscode-server should be all that s needed for compatability with this.
2025-09-29 20:15:57 +00:00
Herwig Hochleitner
b772b8167c openvscode-server: 1.102.3 -> 1.103.1 2025-09-09 00:41:27 +02:00
Herwig Hochleitner
9c9e8814e6 openvscode-server: 1.101.2 -> 1.102.3 2025-08-04 15:43:24 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Thomas Bereknyei
e1693dff92 openvscode-server: 1.99.3 -> 1.101.2 2025-07-17 01:10:32 -04:00
Michael Daniels
3dfcab3d12 treewide: migrate to pkgs/by-name
All from https://github.com/Aleksanaa/by-name-migrate, with some additional
exclusions of packages with open PRs to prevent merge conflicts.
2025-06-21 11:11:59 -04:00