Commit Graph

942030 Commits

Author SHA1 Message Date
quantenzitrone 626f23ce26 various: switch 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 files (rg --files-with-matches -F 'stdenv.mkDerivation rec {' $scope | sort -u)

for file in $files
    echo $file
    sd -F 'stdenv.mkDerivation rec {' 'stdenv.mkDerivation (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 '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:59:05 +01:00
quantenzitrone 0f041b651e various: fix pname misuse in meta.mainProgram 2026-02-07 09:57:16 +01:00
quantenzitrone d3c84c2d12 various: fix pname misuse in fetcher arguments 2026-02-07 09:57:14 +01:00
nixpkgs-ci[bot] 78679f24a2 emmylua-check: 0.19.0 -> 0.20.0 (#487863) 2026-02-07 08:01:08 +00:00
Matthias Beyer 3e625ad274 nurl: 0.3.13 -> 0.4.0; nix-init: 0.3.2 -> 0.3.3 (#487687) 2026-02-07 07:49:07 +00:00
K900 b13bf32d8a mesa: 25.3.4 -> 25.3.5 (#487870) 2026-02-07 07:28:05 +00:00
K900 34714e8ec4 mesa: 25.3.4 -> 25.3.5
Diff: https://gitlab.freedesktop.org/mesa/mesa/-/compare/mesa-25.3.4...mesa-25.3.5

Changelog: https://docs.mesa3d.org/relnotes/25.3.5.html
2026-02-07 10:21:49 +03:00
Austin Horstman 1c9f2cc6da _1password-cli: 2.32.0 -> 2.33.0-beta.01 (#487864) 2026-02-07 07:10:28 +00:00
R. Ryantm 44d90fad32 _1password-cli: 2.32.0 -> 2.33.0-beta.01 2026-02-07 06:44:48 +00:00
R. Ryantm ff95565f9f emmylua-check: 0.19.0 -> 0.20.0 2026-02-07 06:30:49 +00:00
dish e6cef6bb26 coc-markdownlint: 0-unstable-2026-01-01 -> 0-unstable-2026-02-01 (#487855) 2026-02-07 06:19:41 +00:00
dish 59915114d1 coc-rust-analyzer: 0-unstable-2026-01-20 -> 0-unstable-2026-02-01 (#487853) 2026-02-07 06:16:50 +00:00
dish 834d711e67 gatsby-cli: 5.15.0 -> 5.16.0 (#487851) 2026-02-07 06:16:27 +00:00
dish 4d616cf1df coc-texlab: 0-unstable-2025-07-22 -> 0-unstable-2026-01-28 (#487850) 2026-02-07 06:15:28 +00:00
Fernando Rodrigues b8d6e46428 octavePackages.io: 2.7.0 -> 2.7.1 (#487833) 2026-02-07 06:09:57 +00:00
R. Ryantm 6fbfdc1a59 coc-markdownlint: 0-unstable-2026-01-01 -> 0-unstable-2026-02-01 2026-02-07 06:07:28 +00:00
nixpkgs-ci[bot] 16566a2789 biome: 2.3.13 -> 2.3.14 (#487802) 2026-02-07 06:01:06 +00:00
nixpkgs-ci[bot] 0d21dc3c65 cloudflared: 2026.1.1 -> 2026.1.2 (#485306) 2026-02-07 06:01:05 +00:00
R. Ryantm 7cdb40f7cd coc-rust-analyzer: 0-unstable-2026-01-20 -> 0-unstable-2026-02-01 2026-02-07 05:53:54 +00:00
dotlambda 293b472ef2 home-assistant: 2026.2.0 -> 2026.2.1 (#487789) 2026-02-07 05:50:13 +00:00
R. Ryantm ad64cda2c9 gatsby-cli: 5.15.0 -> 5.16.0 2026-02-07 05:40:48 +00:00
Robert Schütz 67c86052c5 home-assistant.python.pkgs.pytest-homeassistant-custom-component: 0.13.313 -> 0.13.314
Diff: https://github.com/MatthewFlamm/pytest-homeassistant-custom-component/compare/0.13.313...0.13.314

Changelog: https://github.com/MatthewFlamm/pytest-homeassistant-custom-component/blob/0.13.314/CHANGELOG.md
2026-02-06 21:39:42 -08:00
R. Ryantm 565884588e coc-texlab: 0-unstable-2025-07-22 -> 0-unstable-2026-01-28 2026-02-07 05:31:45 +00:00
Adam C. Stephens 06b4256d61 vikunja, vikunja-desktop: 0.24.6 -> 1.0.0 (#486294) 2026-02-07 05:23:44 +00:00
Harinn 860b14e63c doc: add Vikunja 1.0.0 breaking-change note 2026-02-07 00:19:00 -05:00
Harinn a6cf63d68d nixos/vikunja: swap service.frontendurl with service.publicurl 2026-02-07 00:18:55 -05:00
Harinn fc3f01284d vikunja: 0.24.6 -> 1.0.0 2026-02-07 00:18:26 -05:00
Harinn fb9a141c00 vikunja-desktop: 0.24.6 -> 1.0.0 2026-02-07 00:18:25 -05:00
Masum Reza 26159a3b49 vscode: 1.108.2 -> 1.109.0 (#487434) 2026-02-07 05:15:46 +00:00
nixpkgs-ci[bot] 0fa9750124 uesave: 0.6.2 -> 0.7.0 (#486096) 2026-02-07 04:19:11 +00:00
John Ericson c4441a1343 wine-{staging,wayland}: Simplify definitions (#487834) 2026-02-07 04:13:15 +00:00
Robert Schütz aeba748169 python3Packages.homeassistant-stubs: 2026.2.0 -> 2026.2.1
Diff: https://github.com/KapJI/homeassistant-stubs/compare/2026.2.0...2026.2.1

Changelog: https://github.com/KapJI/homeassistant-stubs/releases/tag/2026.2.1
2026-02-06 20:09:29 -08:00
R. Ryantm 0f597d7699 octavePackages.io: 2.7.0 -> 2.7.1 2026-02-07 03:51:39 +00:00
Michael Daniels c6f889da0a supabase-cli: 2.72.7 -> 2.75.0 (#487506) 2026-02-07 03:35:54 +00:00
nixpkgs-ci[bot] bb7992afd0 pgmodeler: 1.2.2 -> 1.2.3 (#487620) 2026-02-07 03:35:34 +00:00
rewine 182c68dae5 vivaldi: 7.8.3925.56 -> 7.8.3925.62 (#487715) 2026-02-07 03:31:59 +00:00
nixpkgs-ci[bot] 313e779d24 eksctl: 0.221.0 -> 0.222.0 (#487807) 2026-02-07 02:44:38 +00:00
nixpkgs-ci[bot] de8314929c nzportable: set pname (#487765) 2026-02-07 02:44:36 +00:00
Jo 2bf00f37e2 postgrey: set pname and version (#487676) 2026-02-07 02:39:15 +00:00
Jo 8d97a95d14 tex-gyre-math.*: set pname (#487742) 2026-02-07 02:35:48 +00:00
Jo 7b52cb086d texlive*: set pname and version (#487432) 2026-02-07 02:33:42 +00:00
dotlambda 046523e50a shrinkray: 25.9.1-unstable-2025-09-11 → 26.1.1.0 (#483827) 2026-02-07 02:10:53 +00:00
dotlambda 615fd647ec python3Packages.azure-mgmt-appcontainers: fix typo (#487121) 2026-02-07 02:01:06 +00:00
dotlambda 5a32907bdd python3Packages.pycontrol4: 1.5.0 -> 1.6.0 (#486766) 2026-02-07 01:56:14 +00:00
dotlambda 538ceb7281 python3Packages.urwid-readline: fix version metadata (#487527) 2026-02-07 01:54:27 +00:00
zowoq e5f0c9882d terraform-providers.huaweicloud_huaweicloud: 1.85.0 -> 1.86.0 (#487816) 2026-02-07 01:54:16 +00:00
dotlambda 610995680b bitwarden-cli: 2025.12.1 -> 2026.1.0 (#487510) 2026-02-07 01:53:46 +00:00
dotlambda e283195101 libdeltachat: 2.39.0 -> 2.41.0 (#487517) 2026-02-07 01:53:35 +00:00
dotlambda 137ec4e8d7 arcanechat-tui: 0.11.1 -> 0.12.0 (#487526) 2026-02-07 01:53:24 +00:00
R. Ryantm 47e324773b terraform-providers.huaweicloud_huaweicloud: 1.85.0 -> 1.86.0 2026-02-07 01:41:50 +00:00