Commit Graph

45 Commits

Author SHA1 Message Date
R. Ryantm
728d5ba04d pscale: 0.291.0 -> 0.293.0 2026-07-06 23:07:26 +00:00
R. Ryantm
6733112c49 pscale: 0.286.0 -> 0.291.0 2026-06-21 18:19:48 +00:00
R. Ryantm
08bba12b02 pscale: 0.284.0 -> 0.286.0 2026-06-03 08:40:19 +00:00
R. Ryantm
0b740d626f pscale: 0.282.0 -> 0.284.0 2026-05-25 10:30:25 +00:00
R. Ryantm
677b314e56 pscale: 0.281.0 -> 0.282.0 2026-04-22 19:20:02 +00:00
R. Ryantm
b97e8b4e88 pscale: 0.277.0 -> 0.281.0 2026-04-08 09:54:45 +00:00
R. Ryantm
9dbf4aa82b pscale: 0.276.0 -> 0.277.0 2026-03-30 22:52:38 +00:00
R. Ryantm
5c9e6acdc2 pscale: 0.271.0 -> 0.276.0 2026-03-22 03:06:36 +00: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
R. Ryantm
5911e038ad pscale: 0.270.0 -> 0.271.0 2026-02-02 23:06:48 +00:00
R. Ryantm
e7b3061df3 pscale: 0.269.0 -> 0.270.0 2026-01-16 13:47:27 +00:00
R. Ryantm
3168f0b84d pscale: 0.268.0 -> 0.269.0 2026-01-09 23:48:00 +00:00
R. Ryantm
94c1e2ccb5 pscale: 0.266.0 -> 0.268.0 2026-01-03 19:11:21 +00:00
R. Ryantm
c484cafbe4 pscale: 0.264.0 -> 0.266.0 2025-12-09 11:20:22 +00:00
R. Ryantm
ca145c04b0 pscale: 0.262.0 -> 0.264.0 2025-12-02 23:22:56 +00:00
R. Ryantm
cd3b548cb7 pscale: 0.261.0 -> 0.262.0 2025-11-26 15:43:30 +00:00
R. Ryantm
55588dc468 pscale: 0.260.0 -> 0.261.0 2025-11-19 19:55:54 +00:00
R. Ryantm
5cd43e1663 pscale: 0.259.0 -> 0.260.0 2025-11-13 00:36:34 +00:00
R. Ryantm
bc17ef79b5 pscale: 0.258.0 -> 0.259.0 2025-10-15 20:57:20 +00:00
R. Ryantm
6bb703d4bd pscale: 0.256.0 -> 0.258.0 2025-09-24 07:40:54 +00:00
R. Ryantm
6f5ccfbd8e pscale: 0.255.0 -> 0.256.0 2025-09-13 04:20:21 +00:00
R. Ryantm
cbb859c673 pscale: 0.250.0 -> 0.255.0 2025-09-01 21:04:55 +00:00
R. Ryantm
cfb2b50f2b pscale: 0.248.0 -> 0.250.0 2025-08-04 18:14:29 +00:00
R. Ryantm
1f60cc63ab pscale: 0.247.0 -> 0.248.0 2025-07-27 00:43:19 +00:00
R. Ryantm
c2a3710f34 pscale: 0.246.0 -> 0.247.0 2025-07-14 08:19:06 +00:00
Wolfgang Walther
cb1c1c2413 maintainers: drop pimeys
No activity since October 2024.
2025-07-05 17:31:26 +02:00
R. Ryantm
01a7ea6233 pscale: 0.245.0 -> 0.246.0 2025-06-25 00:27:41 +00:00
R. Ryantm
10548992d6 pscale: 0.243.0 -> 0.245.0 2025-06-08 15:12:36 +00:00
liberodark
c6729488de treewide: remove with lib Part 4 2025-06-07 00:48:50 +02:00
R. Ryantm
04a5e1fca7 pscale: 0.241.0 -> 0.243.0 2025-05-28 19:26:46 +00:00
R. Ryantm
4b526fb40f pscale: 0.239.0 -> 0.241.0 2025-04-21 20:18:20 +00:00
R. Ryantm
d9aa895197 pscale: 0.236.0 -> 0.239.0 2025-04-12 08:45:43 +00:00
Nick Cao
340a653746 pscale: fix cross build (#397640) 2025-04-10 17:33:53 -04:00
FliegendeWurst
518f6ee7e7 pscale: fix cross build 2025-04-10 12:58:51 +02:00
R. Ryantm
37e3374ebc pscale: 0.230.0 -> 0.236.0 2025-04-08 13:52:26 +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
R. Ryantm
e54674d8d2 pscale: 0.221.0 -> 0.230.0 2025-03-22 13:15:20 +00:00
R. Ryantm
0ad68f5cf5 pscale: 0.220.0 -> 0.221.0 2025-02-01 03:34:04 +00:00
R. Ryantm
cf3814d45c pscale: 0.219.0 -> 0.220.0 2025-01-19 10:15:39 +00:00
R. Ryantm
35c580d944 pscale: 0.218.0 -> 0.219.0 2025-01-07 02:41:11 +00:00
R. Ryantm
75179402ee pscale: 0.216.0 -> 0.218.0 2024-12-19 03:22:36 +00:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
R. Ryantm
d5a4c5f65f pscale: 0.213.0 -> 0.216.0 2024-12-08 06:03:09 +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