Commit Graph

25 Commits

Author SHA1 Message Date
Sergei Trofimovich
1c2d1b1604 libdrm: 2.4.133 -> 2.4.134
Changes: https://lists.x.org/archives/xorg-announce/2026-May/003701.html
2026-05-29 21:58:09 +01:00
R. Ryantm
77b0200c61 libdrm: 2.4.131 -> 2.4.133 2026-04-27 17:39:50 +00:00
Ion Agorria
9d433abc2b libdrm: Enable tegra for linux platform instead of ARM arch
This aligns flag as the rest of SoCs like omap and etnaviv
and helps finding headers for development in hosts outside
ARM arch
2026-02-09 14:26:21 +01:00
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
Jo
026a500d5c various: rename references and deprecate alias (#486994) 2026-02-05 20:31:22 +00:00
quantenzitrone
9c8e96055a various: fix pname misuse in urls 2026-02-05 01:51:59 +01:00
quantenzitrone
d118fe0cf8 libpthreadstubs: rename references and deprecate alias
this shouldn't create any rebuilds
2026-02-04 22:59:01 +01:00
Sergei Trofimovich
7b764c8da3 libdrm: 2.4.129 -> 2.4.131
Changes:
- https://lists.x.org/archives/xorg-announce/2025-December/003646.html
- https://lists.x.org/archives/xorg-announce/2025-December/003647.html
2025-12-12 00:08:42 +00:00
Wolfgang Walther
46c0c0eae7 Merge branch 'staging-next' into staging 2025-12-10 18:42:31 +01: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
Sergei Trofimovich
92e4e51585 libdrm: 2.4.128 -> 2.4.129
Changes: https://lists.x.org/archives/xorg-announce/2025-November/003642.html
2025-11-24 06:23:15 +00:00
Sergei Trofimovich
9c637bed6a libdrm: 2.4.127 -> 2.4.128
Changes: https://lists.x.org/archives/xorg-announce/2025-November/003639.html
2025-11-05 21:04:10 +00:00
Sergei Trofimovich
b27d1d5a5f libdrm: 2.4.126 -> 2.4.127
Changes: https://lists.x.org/archives/xorg-announce/2025-October/003634.html
2025-10-17 09:49:35 +01:00
K900
0f7b34209a libdrm: 2.4.125 -> 2.4.126 (#447906) 2025-10-07 10:39:39 +03:00
Wolfgang Walther
c283f32d29 treewide: remove unused with
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00
Sergei Trofimovich
5d91f7b013 libdrm: 2.4.125 -> 2.4.126
Changes: https://lists.x.org/archives/xorg-announce/2025-October/003632.html
2025-10-02 06:56:28 +01:00
ccicnce113424
df4ee604e8 pkgsLLVM.linuxPackages.nvidia: fix build 2025-09-06 05:55:02 +08:00
Wolfgang Walther
90604d95bc Merge branch 'staging-next' into staging 2025-07-24 14:33:09 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Sandro
cb4e8e33fa libdrm: 2.4.124 -> 2.4.125 (#415197) 2025-07-15 20:25:02 +02:00
John Titor
766ad54fde treewide: remove primeos from maintainers
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-07-06 00:00:32 +05:30
Sergei Trofimovich
b5825dab3e libdrm: 2.4.124 -> 2.4.125
Changes: https://lists.x.org/archives/xorg-announce/2025-June/003606.html
2025-06-09 06:37:43 +01:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Sergei Trofimovich
fc9ea42a0b libdrm: 2.4.123 -> 2.4.124
Changes: https://lists.x.org/archives/xorg-announce/2024-December/003562.html
2024-12-06 06:22:54 +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