Commit Graph

24 Commits

Author SHA1 Message Date
Alexis Hildebrandt
f469903788 drawterm: modernize 2026-07-26 13:19:39 +02:00
Alexis Hildebrandt
860dd86e50 drawterm: fix darwin build 2026-07-26 13:17:03 +02:00
R. Ryantm
e5947cc475 drawterm: 0-unstable-2026-06-27 -> 0-unstable-2026-07-18 2026-07-19 18:04:09 +00:00
R. Ryantm
769cd5a553 drawterm: 0-unstable-2026-06-06 -> 0-unstable-2026-06-27 2026-07-02 05:01:43 +00:00
R. Ryantm
887c92037c drawterm: 0-unstable-2026-05-26 -> 0-unstable-2026-06-06 2026-06-14 18:29:26 +00:00
R. Ryantm
815856b996 drawterm: 0-unstable-2026-05-09 -> 0-unstable-2026-05-26 2026-05-27 11:23:21 +00:00
R. Ryantm
0bda923fc8 drawterm: 0-unstable-2026-04-24 -> 0-unstable-2026-05-09 2026-05-10 20:15:55 +00:00
R. Ryantm
29db8b3f92 drawterm: 0-unstable-2026-04-14 -> 0-unstable-2026-04-24 2026-05-02 09:29:47 +00:00
R. Ryantm
c73689e490 drawterm: 0-unstable-2026-01-11 -> 0-unstable-2026-04-14 2026-04-15 06:22:51 +00:00
Weijia Wang
ef5f0733a0 drawterm: 0-unstable-2025-12-27 -> 0-unstable-2026-01-11 (#479737) 2026-02-09 00:23:23 +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
R. Ryantm
1961863de2 drawterm: 0-unstable-2025-12-27 -> 0-unstable-2026-01-11 2026-01-13 16:24:13 +00:00
R. Ryantm
eb1a284a42 drawterm: 0-unstable-2025-10-11 -> 0-unstable-2025-12-27 2026-01-01 05:26:22 +00:00
nixpkgs-ci[bot]
c17f995873 Merge staging-next into staging 2025-10-22 00:17:44 +00:00
R. Ryantm
f262c870a5 drawterm: 0-unstable-2025-09-11 -> 0-unstable-2025-10-11 2025-10-12 11:42:48 +00:00
Randy Eckenrode
20e89e336e drawterm: use default SDK on Darwin (14.4) 2025-10-09 18:23:28 -04:00
R. Ryantm
13f26bd119 drawterm: 0-unstable-2025-08-18 -> 0-unstable-2025-09-11 2025-09-14 01:37:28 +00:00
R. Ryantm
d739b8a5ec drawterm: 0-unstable-2025-06-29 -> 0-unstable-2025-08-18 2025-08-22 19:53:32 +00:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
R. Ryantm
7fc48d1276 drawterm: 0-unstable-2025-06-13 -> 0-unstable-2025-06-29 2025-07-11 05:53:24 +00:00
Jacob Moody
3c04ac7e23 drawterm: 0-unstable-2025-05-18 -> 0-unstable-2025-06-13 2025-06-19 09:43:56 -05:00
R. Ryantm
a567bce53f drawterm: 0-unstable-2025-03-18 -> 0-unstable-2025-05-18 2025-05-22 12:48:56 +00:00
Alexis Hildebrandt
aabb4c5b41 drawterm: Refactor to introduce withWayland option 2025-04-17 12:10:36 +02:00
Alexis Hildebrandt
399c9e5999 drawterm: migrate to by-name 2025-04-11 22:02:57 +02:00