Commit Graph

93 Commits

Author SHA1 Message Date
Weijia Wang
95754b6046 tboot: 1.11.9 -> 1.11.10 (#525403) 2026-08-16 18:24:55 +00:00
Felix Singer
05c172cbd4 tbtools: Enable strictDeps and __structuredAttrs
Signed-off-by: Felix Singer <felixsinger@posteo.net>
2026-08-05 05:51:53 +02:00
R. Ryantm
906200147c tbox: 1.8.1 -> 1.8.2 2026-08-03 18:54:18 +00:00
2kybe3
e9a44549b9 treewide: follow some GitHub redirects for fetchFromGitHub
generated using https://git.kybe.xyz/2kybe3/nixpkgs-github-redirect

continuation of: #548162
2026-08-01 23:56:32 +02:00
R. Ryantm
4d85c9c329 tbls: 1.94.5 -> 1.95.0 2026-07-11 08:48:45 +00:00
R. Ryantm
846b234017 tbox: 1.8.0 -> 1.8.1 2026-07-05 18:55:08 +00:00
R. Ryantm
d96498a47b tboot: 1.11.9 -> 1.11.10 2026-05-29 00:34:37 +00:00
R. Ryantm
f230119a38 tbls: 1.94.4 -> 1.94.5 2026-04-27 16:20:17 +00:00
R. Ryantm
52173fe345 tbls: 1.94.2 -> 1.94.4 2026-04-15 10:46:07 +00:00
R. Ryantm
d1e1042a1b tbls: 1.94.0 -> 1.94.2 2026-04-07 13:11:23 +00:00
R. Ryantm
df4ac39ccc tbls: 1.93.0 -> 1.94.0 2026-03-30 02:28:19 +00:00
R. Ryantm
d012ae11d0 tbls: 1.92.3 -> 1.93.0 2026-03-19 08:28:39 +00:00
nixpkgs-ci[bot]
19170f4d3c tbtools: 0.7.0 -> 0.8.0 (#492437) 2026-02-20 13:49:47 +00:00
R. Ryantm
0528f7e4c6 tbtools: 0.7.0 -> 0.8.0 2026-02-20 11:27:07 +00:00
Stefan Frijters
77446a7ffb tbls: move CGO_* env vars into env for structuredAttrs 2026-02-19 18:54:36 +01:00
R. Ryantm
74bda3dbe1 tbox: 1.7.9 -> 1.8.0 2026-02-10 02:32:10 +00:00
Fernando Rodrigues
693e12715a various: switch buildGoModule packages to use finalAttrs (#487704) 2026-02-07 09:35:52 +00: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
quantenzitrone
9380e05c3c various: switch buildGoModule 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 buildGoModule

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:28:59 +01:00
quantenzitrone
9c8e96055a various: fix pname misuse in urls 2026-02-05 01:51:59 +01:00
quantenzitrone
6b61249106 various: switch to finalAttrs pattern
this shouldn't create any rebuilds
2026-01-30 02:36:22 +01:00
Fabian Affolter
5f9a288b7a tbump: modernize
- enable tests
2026-01-14 08:50:01 +01:00
R. Ryantm
b3fdcbb95a tbls: 1.92.2 -> 1.92.3 2026-01-07 08:36:11 +00:00
R. Ryantm
9ad1603ead tbls: 1.92.1 -> 1.92.2 2025-12-24 17:22:22 +00:00
R. Ryantm
c7115c2f89 tbls: 1.92.0 -> 1.92.1 2025-12-17 12:51:39 +00: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
R. Ryantm
51c8b29875 tbls: 1.91.4 -> 1.92.0 2025-12-10 09:03:17 +00:00
R. Ryantm
7525a563d2 tbls: 1.91.3 -> 1.91.4 2025-11-29 18:50:36 +00:00
R. Ryantm
e42bdd4f6f tbox: 1.7.8 -> 1.7.9 2025-11-25 02:25:14 +00:00
R. Ryantm
cca85758ea tbls: 1.91.2 -> 1.91.3 2025-11-21 18:49:44 +00:00
Guy Chronister
b08c312cde tbe: migrate to pkgs/by-name and modernize derivation
- Moved package from pkgs/games/the-butterfly-effect/default.nix
  to pkgs/by-name/tb/tbe/package.nix
- Switched from mkDerivation rec to stdenv.mkDerivation with finalAttrs
- Updated fetchFromGitHub to use `hash` instead of `sha256`
- Consolidated Qt dependencies under libsForQt5
- Adjusted meta attributes to use lib.* directly
- Removed old entry from all-packages.nix
2025-11-12 01:15:36 +00:00
R. Ryantm
e82187c762 tbls: 1.91.1 -> 1.91.2 2025-11-05 07:10:31 +00:00
Azat Bahawi
60990b8723 tbls: 1.90.0 -> 1.91.1 (#455649) 2025-10-28 13:25:53 +00:00
R. Ryantm
407bf38ca1 tbox: 1.7.7 -> 1.7.8 2025-10-26 00:26:08 +00:00
azahi
5a32e5f982 tbls: 1.90.0 -> 1.91.1 2025-10-26 00:26:23 +03:00
R. Ryantm
0513a22b62 tbls: 1.89.1 -> 1.90.0 2025-10-20 22:16:49 +00:00
R. Ryantm
fa03a05934 tbls: 1.89.0 -> 1.89.1 2025-10-14 20:59:52 +00:00
nixpkgs-merge-bot[bot]
f9398a78bd tbtools: 0.6.0 -> 0.7.0 (#449976) 2025-10-10 20:19:12 +00:00
R. Ryantm
c1476568c6 tbtools: 0.6.0 -> 0.7.0 2025-10-08 15:50:26 +00:00
R. Ryantm
180d07dd88 tbls: 1.88.0 -> 1.89.0 2025-10-08 12:39:34 +00:00
Emily
28afe52ccd onetbb: rename from tbb_2022
This is the upstream name and there doesn’t seem to be a strong
reason to keep around multiple versions now.
2025-09-15 17:29:17 +01:00
Emily
6fa5947b0e tbb_2020: drop 2025-09-15 17:29:17 +01:00
Emily
10a29bad23 tbb_2022: 2022.1.0 -> 2022.2.0, clean up, fix macOS; tbb_2021: drop (#442554) 2025-09-14 17:34:59 +00:00
Emily
3c792df555 tbb_2021: drop 2025-09-14 03:51:09 +01:00
Emily
09bb3d872b tbb_2022: add patch to fix macOS crashes
Closes: #407674
2025-09-14 03:51:09 +01:00
Emily
004e1a7b3e tbb_2022: use env 2025-09-14 03:51:09 +01:00
Emily
86e75f561f tbb_2022: drop redundant enableParallelBuilding
CMake already enables this by default.
2025-09-14 03:49:59 +01:00
Emily
2c33a3a748 tbb_2022: drop obsolete compiler flags 2025-09-14 03:49:59 +01:00
Emily
b9acbf9bef tbb_2022: vendor unmerged patches
Unmerged PRs are not stable fetch targets.
2025-09-14 03:49:59 +01:00
Emily
c240345f2f tbb_2022: enable tests 2025-09-14 03:49:59 +01:00