Commit Graph

30 Commits

Author SHA1 Message Date
Eman Resu
ff094f60ad treewide: replace more singleton license lists 2026-07-15 14:04:39 -04:00
Sandro
88bcaec6b8 xterm: remove finalAttrs.pname anti pattern 2026-05-07 00:23:48 +02:00
Sergei Trofimovich
29fae519b1 xterm: 409 -> 410
Changes: https://invisible-island.net/xterm/xterm.log.html#xterm_410
2026-05-03 10:09:36 +01:00
Sergei Trofimovich
98942d4ba0 xterm: 407 -> 409
Changes:
- https://invisible-island.net/xterm/xterm.log.html#xterm_408
- https://invisible-island.net/xterm/xterm.log.html#xterm_409
2026-04-15 21:37:06 +01:00
Sergei Trofimovich
ad6d295a72 xterm: 406 -> 407
Changes: https://invisible-island.net/xterm/xterm.log.html#xterm_407
2026-02-18 07:23:38 +00:00
Acid Bong
8813707dd7 xterm: add description
Can't believe it didn't have one for so long
2026-02-01 19:27:05 +02:00
Acid Bong
545c2965e1 xterm: make meta.changelog point to a specific changelog section 2026-02-01 19:27:04 +02:00
Acid Bong
56536d5381 xterm: switch to finalAttrs 2026-02-01 19:27:04 +02: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
Sergei Trofimovich
a5ee8a8cba xterm: 404 -> 406
Changes:
- https://invisible-island.net/xterm/xterm.log.html#xterm_405
- https://invisible-island.net/xterm/xterm.log.html#xterm_406
2025-12-22 21:09:36 +00:00
Audrey Dutcher
8db82491fb treewide: replace ftp references to invisible-island.net with https 2025-12-13 20:23:07 -07:00
Fabián Heredia Montiel
58064ea3d8 xterm: 403 -> 404 (#466746) 2025-12-10 06:11:31 +00:00
Wolfgang Walther
3b1e37dce8 maintainers: drop nequissimus
Reacted to 3 out of 375 maintainer pings in the least 180 days.
2025-12-09 21:09:09 +01:00
Sergei Trofimovich
971ebdc4c8 xterm: 403 -> 404
Changes: https://invisible-island.net/xterm/xterm.log.html#xterm_404
2025-12-01 06:26:06 +00:00
Sergei Trofimovich
82ab019058 xterm: 402 -> 403
Changes: https://invisible-island.net/xterm/xterm.log.html#xterm_403
2025-10-20 06:26:14 +01:00
Maximilian Bosch
a33c4bf94f xterm: 401 -> 402 (#441571) 2025-09-14 14:00:01 +02:00
Sergei Trofimovich
09fdc5c791 xterm: 401 -> 402
Changes: https://invisible-island.net/xterm/xterm.log.html#xterm_402
2025-09-09 21:01:55 +01:00
Ihar Hrachyshka
b9a112d42c xterm: add mainProgram 2025-08-20 23:26:15 -04:00
Wolfgang Walther
535b720589 Merge branch 'master' into staging-next 2025-07-24 14:27:50 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Sergei Trofimovich
5a0a89d8da xterm: 400 -> 401
Changes: https://invisible-island.net/xterm/xterm.log.html#xterm_401
2025-07-06 06:37:29 +01:00
Sergei Trofimovich
37eb7a2842 xterm: 399 -> 400
Changes: https://invisible-island.net/xterm/xterm.log.html#xterm_400
2025-06-16 06:40:54 +01:00
Sergei Trofimovich
24f44dba80 xterm: enable parallel building 2025-05-21 06:19:52 +01:00
Sergei Trofimovich
0ee255abf2 xterm: 397 -> 399
Changes:
- https://invisible-island.net/xterm/xterm.log.html#xterm_398
- https://invisible-island.net/xterm/xterm.log.html#xterm_399
2025-05-21 06:19:31 +01:00
Ethan Carter Edwards
c76e00362f xterm.tests.musl: init
This would have caught the build regression introduced by
3bf2356 ("xterm: 390 -> 392 (#311472)"), and fixed by
5b2bbd8 ("Revert "xterm: patch from alpine to fix pty on musl"").

Taking over from Alyssa Ross due to age of PR and merge conflicts.

Link: https://github.com/NixOS/nixpkgs/pull/327357

Co-developed-by: Alyssa Ross <hi@alyssa.is>
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
2025-02-21 14:45:35 -05:00
Ethan Carter Edwards
5e7dcb62a4 xterm: format with nixfmt-rfc-style
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
2025-02-21 14:44:30 -05:00
Sergei Trofimovich
914846dbe9 xterm: 396 -> 397
Changes: https://invisible-island.net/xterm/xterm.log.html#xterm_397
2025-01-07 06:30:47 +00:00
Sergei Trofimovich
38a888a134 xterm: 395 -> 396
Changes: https://invisible-island.net/xterm/xterm.log.html#xterm_396
2024-12-04 06:19:07 +00:00
Emily
ce788776a5 Merge master into staging-next 2024-11-09 12:51:01 +00:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00