Commit Graph

71 Commits

Author SHA1 Message Date
bitbloxhub
c831bab4ac appimageTools: warn on deprecated type-specific aliases
Also migrates away from them with these commands, using ast-grep 0.43.0
with these commands in bash (assisted by ChatGPT):
```bash
for old in extractType1 extractType2; do
  ast-grep \
    --lang nix \
    --pattern "\$TOOLS.$old" \
    --rewrite '$TOOLS.extract' \
    --update-all \
    pkgs
done

ast-grep \
  --lang nix \
  --pattern '$TOOLS.wrapType1' \
  --rewrite '$TOOLS.wrapType2' \
  --update-all \
  pkgs
```

Assisted-by: GPT-5.6-Sol Medium via ChatGPT
2026-07-30 00:21:21 +00:00
Clément
5d26766cbf treewide: add missing meta.homepage with source git repository
Added homepage where missing, where the sources are pulled from:
- https://github.com
- https://git.sr.ht
- https://gitlab.com
- https://invent.kde.org
- https://codeberg.org
- https://gitlab.gnome.org
- https://gitlab.freedesktop.org
- https://git.FreeBSD.org
- https://salsa.debian.org
- https://git.tvdr.de
- https://git.suckless.org
2026-06-01 23:40:52 +02:00
ccicnce113424
e1632511d0 kmscon: 9.3.5 -> 10.0.0 2026-05-29 16:54:09 +08:00
ccicnce113424
3d7b59797a kmscon: 9.3.4 -> 9.3.5
Diff: https://github.com/kmscon/kmscon/compare/v9.3.4...v9.3.5

Changelog: https://github.com/kmscon/kmscon/releases/tag/v9.3.5
2026-04-26 15:19:25 +08:00
ccicnce113424
41855a7a99 kmscon: 9.3.3 -> 9.3.4 2026-04-22 22:39:51 +08:00
ccicnce113424
24970ea02c kmscon: enable __structuredAttrs 2026-04-11 05:18:25 +08:00
r-vdp
2c203c4926 kmscon: add explicit freetype, fontconfig, zlib deps
9.3.3 added a new font_freetype backend that directly links against
freetype and fontconfig. These were previously pulled in transitively
via pango -> cairo, but should be explicit since meson now checks for
them directly.

zlib is now a required dependency (used by genunifont and mod-unifont
for compressed font data).
2026-03-27 10:48:20 +01:00
r-vdp
5141589b2d kmscon: 9.3.2 -> 9.3.3
https://github.com/kmscon/kmscon/releases/tag/v9.3.3
2026-03-26 17:01:46 +01:00
ccicnce113424
9f9d8eac43 kmscon: don't patch docbook xml manually 2026-03-25 02:04:34 +08:00
ccicnce113424
b81e9cfd59 kmscon: fix systemd unit path and runtime dependency 2026-03-18 15:49:41 +08:00
R. Ryantm
b72f8ddb4d kmscon: 9.3.1 -> 9.3.2 2026-03-18 15:49:41 +08:00
nixpkgs-ci[bot]
e0a64d1a7c kmymoney: 5.2.1 -> 5.2.2 (#493181) 2026-03-03 21:04:53 +00:00
R. Ryantm
7b602a21b3 kmymoney: 5.2.1 -> 5.2.2 2026-02-23 00:37:25 +00:00
Marcin Serwin
59364fb99a maintainers: drop dezgeg
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2026-02-22 12:43:51 +01:00
ccicnce113424
e00ac658db kmscon: fix docs 2026-02-09 19:40:27 +08:00
ccicnce113424
88c1b2aa4c {kmscon, libtsm}: add meta.changelog 2026-02-09 09:04:38 +08:00
R. Ryantm
27576ae8b9 kmscon: 9.3.0 -> 9.3.1 2026-02-08 20:01:20 +00:00
quantenzitrone
d26a1a9e5e various: switch buildRustPackage packages to use finalAttrs
this shouldn't create any rebuilds

the following script was used to generate this:
```fish
#!/usr/bin/env fish

# nix shell .#nixfmt nixpkgs#{nixf-diagnose,ripgrep,sd}

set base (git rev-parse HEAD)

set scope pkgs/by-name
set builder buildRustPackage

set files (rg --files-with-matches -F "$builder rec {" $scope | sort -u)

for file in $files
    echo $file
    sd -F "$builder rec {" "$builder (finalAttrs: {" $file
    # version
    sd -F 'version}' 'finalAttrs.version}' $file
    sd -F '${version' '${finalAttrs.version' $file
    sd -F '= version' '= finalAttrs.version' $file
    sd -F 'inherit version;' 'inherit (finalAttrs) version;' $file
    sd -F ' + version;' ' + finalAttrs.version;' $file
    sd 'replaceStrings (.*) version' 'replaceStrings $1 finalAttrs.version' $file
    sd -F 'splitVersion version' 'splitVersion finalAttrs.version' $file
    sd -F 'versionAtLeast version' 'versionAtLeast finalAttrs.version' $file
    sd 'versions\.([a-z]+) version' 'versions.$1 finalAttrs.version' $file
    # src
    sd -F 'src}' 'finalAttrs.src}' $file
    sd -F '${src' '${finalAttrs.src' $file
    sd -F '= src' '= finalAttrs.src' $file
    sd -F 'inherit src;' 'inherit (finalAttrs) src;' $file
    sd -F 'inherit (src' 'inherit (finalAttrs.src' $file
    # meta
    sd -F '${meta' '${finalAttrs.meta' $file
    sd -F '= meta' '= finalAttrs.meta' $file
    sd -F 'inherit (meta' 'inherit (finalAttrs.meta' $file
    # other
    sd -F 'inherit version src;' 'inherit (finalAttrs) version src;' $file
    sd -F 'inherit src version;' 'inherit (finalAttrs) src version;' $file
    sd -F 'makeLibraryPath buildInputs' 'makeLibraryPath finalAttrs.buildInputs' $file
    sd -F 'buildInputs}' 'finalAttrs.buildInputs}' $file
    sd -F 'desktopItem}' 'finalAttrs.desktopItem}' $file
    sd -F 'runtimeLibs}' 'finalAttrs.runtimeLibs}' $file
    sd -F 'libPath}' 'finalAttrs.libPath}' $file
    sd -F 'runtimeDependencies}' 'finalAttrs.runtimeDependencies}' $file
    sd -F 'nativeRuntimeInputs}' 'finalAttrs.nativeRuntimeInputs}' $file
    sd -F '(!doCheck)' '(!finalAttrs.doCheck)' $file
    sd -F 'optional doCheck' 'optional finalAttrs.doCheck' $file
    sd -F 'optionals doCheck' 'optionals finalAttrs.doCheck' $file
    sd -F '++ runtimeDependencies' '++ finalAttrs.runtimeDependencies' $file
    # pname (restored afterwards)
    sd -F 'pname}' 'finalAttrs.pname}' $file
    sd -F '${pname' '${finalAttrs.pname' $file
    sd -F '= pname' '= finalAttrs.pname' $file
    # close finalAttrs lambda
    echo ')' >>$file
    # catch some errors early
    if ! nixfmt $file
        git restore $file
        continue
    end
    if ! nixf-diagnose -i sema-primop-overridden $file
        git restore $file
        continue
    end
end

set torestore (rg -F .finalAttrs --files-with-matches $scope)
if test (count $torestore) -gt 0
    git restore $torestore
end
set torestore (rg -F finalAttrs.pname --files-with-matches $scope)
if test (count $torestore) -gt 0
    git restore $torestore
end

# commit for faster eval times
git add pkgs
git commit --no-gpg-sign -m temp
set torestore

for file in $files
    # file hasn't changed
    if git diff --quiet $base $file
        continue
    end
    # try to eval the package to definitely catch all errors
    echo $file
    set pname (string split / $file -f 4)
    if ! nix eval .#$pname
        set torestore $torestore $file
    end
end

# restore files that don't eval
git reset --soft $base
git restore --staged .
if test (count $torestore) -gt 0
    git restore $torestore
end
```

after that some manual cleanup was done:
- restoring files that cause changes in the number of lines
- restoring files that cause rebuilds
- restoring files that cause merge conflicts with staging
2026-02-07 09:53:17 +01:00
Yohann Boniface
eb2d898019 nixosTests.kmscon: init (#483223) 2026-02-06 23:51:07 +00:00
quantenzitrone
55280fa564 various: rename references from libX11 to libx11
this shouldn't create any rebuilds
2026-02-06 00:24:34 +01:00
quantenzitrone
6b61249106 various: switch to finalAttrs pattern
this shouldn't create any rebuilds
2026-01-30 02:36:22 +01:00
Sigmanificient
47674555a1 kmscon: add nixosTests.kmscon to passthru.tests 2026-01-24 01:36:17 +01:00
ccicnce113424
c123327788 kmscon: 9.0.0-unstable-2025-01-09 -> 9.3.0 2026-01-24 07:14:19 +08:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Marcin Serwin
eeb6dc0081 maintainers: drop orivej
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2025-11-21 17:56:40 +01:00
Michael Daniels
1d0bb7b61b treewide: drop figsoda as maintainer (part 3)
s/^\s*figsoda\s*$//
2025-11-02 20:16:11 -05:00
Raphael Borun Das Gupta
d0ee1fb2af kmymoney: fix build for Qt 6.10
by adding patch
from https://src.fedoraproject.org/rpms/kmymoney/blob/rawhide/f/kmymoney-fix-build-against-qt-6-10.patch

Resolves #455948
2025-10-29 01:21:59 +01:00
Aidan Gauland
9bf50ebcdf treewide: remove aidalgol
- Remove aidalgol from maintainers and all packages.
- Add maintainers to tests from their corresponding packages.
- Remove package 'heroic' because this will quickly bitrot without a
  maintainer.
2025-10-02 17:42:00 +13:00
dish
5b0cc63fd4 kmidimon: init at 1.4.1 (#383204) 2025-09-14 16:57:59 +00:00
Guy Chronister
2dd1a60e56 kmymoney: migrate to by-name, refactor 2025-09-11 15:00:06 +02:00
Aliaksandr
507dc27677 kmidimon: init at 1.4.1 2025-09-04 17:06:47 +03:00
Jonathan Davies
f482bcebdf kminion: 2.2.8 → 2.2.13 2025-08-17 14:07:19 +00:00
Christina Sørensen
8373b65856 kminion: format source
Signed-off-by: Christina Sørensen <ces@fem.gg>
2025-08-17 14:07:18 +00:00
Jonathan Davies
1dfbaec1ba kminion: Removed platform restriction 2025-08-17 14:07:17 +00:00
Jonathan Davies
f39852844f kminion: Added nixosTests to passthru.tests 2025-08-17 14:07:16 +00:00
Jonathan Davies
d2163bc1aa kminion: Added ldflags for version 2025-08-17 14:07:11 +00:00
Jonathan Davies
bbcccf995a kminion: 2.2.7 → 2.2.8 2025-08-17 14:07:09 +00:00
Ben Siraphob
04b0a4711b treewide: standardize descriptions according to style guide (#430180) 2025-08-11 07:32:59 +00:00
Acid Bong
ebc5946d59 maintainers: drop omasanori 2025-07-28 06:54:53 +03: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
Guy Chronister
1f6463e291 kmetronome: Migrate to by-name 2025-07-10 11:22:19 -05:00
liberodark
e61bb30305 treewide: remove with lib Part 2 2025-06-03 16:15:50 +02:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Sigmanificient
e6fe6f4b7c treewide: remove unused rec expressions 2025-03-13 21:34:05 +01:00
Sigmanificient
670aba9a64 treewide: remove unused arguments 2025-03-13 18:00:11 +01:00
Peder Bergebakken Sundt
357d2530e5 treewide: substitute pname for strings
Inspired by https://github.com/NixOS/nixpkgs/pull/387725#issuecomment-2704943777, script is based on https://github.com/NixOS/nixpkgs/pull/336172 using what i learned in https://github.com/NixOS/nixpkgs/pull/386865, part of https://github.com/NixOS/nixpkgs/issues/346453

Should be zero rebuilds.

All candidates were made using:

```shell

export NIXPKGS_ALLOW_UNFREE=1
export NIXPKGS_ALLOW_INSECURE=1
export NIXPKGS_ALLOW_BROKEN=1

git-wait restore .

test -s packages.json || ( set -x;
  time nix-env --extra-experimental-features no-url-literals --option system x86_64-linux -f ./. -qaP --json --meta --drv-path --out-path --show-trace --no-allow-import-from-derivation --arg config '{ allowAliases = false; }' > packages.json
)

list_attrpath_fname_col() {
    jq <packages.json 'to_entries[] | select(.value.meta.position==null|not) | "\(.key)\t\(.value.meta.position)"' -r |
        sed -e "s#\t$(realpath .)/#\t#" |
        sed -e 's#:\([0-9]*\)$#\t\1#' |
        grep . |
        grep -iv haskell |
        grep -iv /top-level/ |
        grep -iv chicken |
        grep pkgs/by-name/ |
        grep -iv build |
        grep -E '/(package|default)\.nix'
}

FLOCKDIR="$(mktemp -d)"
N_WORKERS=4
while read attrpath fname col; do
    grep -qE 'repo *= *("\$\{pname\}"|pname);' "$fname" || continue

    echo | (
        # mutex on fname
        flock --nonblock 200 || {
            >&2 echo "failed to aquire lock for $fname"
            exit 1
        }

        echo "$attrpath"
        data="$(nix eval --impure  --expr 'with import ./. {}; { inherit ('"$attrpath"') pname drvPath passthru meta; drvPath2='"$attrpath"'.src.drvPath; }' --json)" || exit
        test -n "$data" || exit
        pname="$(jq <<<"$data" .pname -r)"
        test -n "$pname" || exit

        (set -x
            sd -F '${pname}'  "$pname"         "$fname"
            sd -F ' = pname;' " = \"$pname\";" "$fname"
        )

        data2="$(nix eval --impure  --expr 'with import ./. {}; { inherit ('"$attrpath"') pname drvPath passthru meta; drvPath2='"$attrpath"'.src.drvPath; }' --json)"
        if [[ "$data" = "$data2" ]]; then
            (set -x; git-wait add "$fname")
        else
            (set -x; git-wait restore "$fname")
            exit
        fi

        (set -x
            sd -F ' rec {' ' {' "$fname"
        )

        data3="$(nix eval --impure  --expr 'with import ./. {}; { inherit ('"$attrpath"') pname drvPath passthru meta; drvPath2='"$attrpath"'.src.drvPath; }' --json 2>/dev/nul)"

        if [[ "$data" = "$data3" ]]; then
            (set -x; git-wait add "$fname")
        else
            (set -x; git-wait restore "$fname")
        fi

    ) 200>"$FLOCKDIR"/"$(sha256sum - <<<"$fname" | cut -d' ' -f1)".lock &

    while [[ $(jobs -p | wc -l) -ge $N_WORKERS ]]; do
        wait -n < <(jobs -p) || true
    done

done < <(list_attrpath_fname_col)

wait

git restore .

time nix-env --extra-experimental-features no-url-literals --option system x86_64-linux -f ./. -qaP --json --meta --drv-path --out-path --show-trace --no-allow-import-from-derivation --arg config '{ allowAliases = false; }' > packages2.json
```

`diff packages{,2}.json` is empty, indicating that no package nor src derivation has changed.
I checked and cherry-picked the changes using `GIT_DIFF_OPTS='-u15' git -c interactive.singleKey=true add --patch`
2025-03-11 23:55:31 +01:00
hustlerone
71aecd7467 pkgs/ksmcon: bump version 2025-02-20 15:51:14 +01:00
hustlerone
c8be082d43 kmscon: fix virtual terminal logout bug
Instead of bumping the version (I can't compile latest rev for now), I cherrypicked this specific commit as a patch.

It fixes the biggest dealbreaker when using it, which is hanging on logout.
2025-02-16 01:25:13 +01:00