Commit Graph

338 Commits

Author SHA1 Message Date
Weijia Wang
8ccf358186 optifine: 1.21.4_HD_U_J3 -> 1.21.11_HD_U_J9 (#483045) 2026-08-15 16:11:09 +00:00
Michael Daniels
2bb3216d1c maintainers/scripts/update.nix: allow true for boolean args along w/ "true"
I intend to add a deprecation warning when a string is provided once I've
updated some downstream users.
2026-06-07 15:53:01 -04:00
Aliaksandr
49e4dad9e9 alice-tools: move to by-name 2026-02-24 20:12:12 +02:00
R. Ryantm
9f665b02d1 optifine: 1.21.4_HD_U_J3 -> 1.21.11_HD_U_J9 2026-02-06 09:06:32 +00:00
quantenzitrone
bc59787bc1 pokefinder: move to pkgs/by-name
this shouldn't create any rebuilds
2026-02-01 23:01:17 +01:00
quantenzitrone
fd9de9d55f gamemode: move to pkgs/by-name
this shouldn't create any rebuilds
2026-02-01 23:01:16 +01:00
Guy Chronister
e9bd3931c3 various: migrate callPackage to by-name 2026-01-09 19:33:15 -06: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
Aliaksandr
03bb7d8195 all-packages: do not export lib functions from pkgs 2025-10-30 22:38:49 +02:00
Tomodachi94
a4dd7db0dc treewide(java-users): clean callPackage overrides, by-name some
**This commit should cause no rebuilds.**

# Moving Java overrides out of all-packages

All usages of this pattern have been moved to
'let ... in' blocks.

Patterns I searched for:
* `jdk =`
* `jdk_headless =`
* `jre =`
* `jfx =`

The `jing` alias has been moved to aliases.nix, so
update the usage of `jing` in `xmloscopy` to
`jing-trang`.

cassandra was ignored because that derivation
involves code generation.

I ignored grails, because jdk is set to null by
default by an override in all-packages.nix. That
package would need a slightly larger refactor to
deal with.

Packages with a *-native variant were ignored because
those would need to be refactored.

jetbrains was ignored because that might be a special case?

I ignored virtualbox, because I did not want
to touch the usages of the pattern for other
dependencies.
2025-09-25 03:46:35 +00:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Jon Hermansen
297ed1a686 gamemode: update 1.8.2 hash to include an additional commit
When bootstrapping NixOS from source, I found that this package no
longer builds without the cache. A quick diff of the project shows
a one line change that bumps the project version in their meson build

Comparing build outputs old vs. new, only store paths have changed
2025-06-29 13:36:55 -04:00
R. Ryantm
a0a3de4158 mcaselector: 2.5.2 -> 2.5.3 2025-06-18 01:44:49 +00:00
leo60228
28dd6a442d pokefinder: 4.2.0 -> 4.2.1 2025-05-17 19:44:51 -04:00
Peder Bergebakken Sundt
92b7a63b3a steamback: modernize 2025-05-02 19:12:23 +02:00
Peder Bergebakken Sundt
e1ccec0dea steamback: unbreak by relaxing psutil 2025-05-02 19:11:28 +02:00
awwpotato
fd8bf4519b treewide: move to by-name 2025-04-21 09:02:01 -07:00
R. Ryantm
f5125c0c10 mcaselector: 2.5.1 -> 2.5.2 2025-04-14 22:17:36 +00: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
Wolfgang Walther
1d47143d4f mcaselector: 2.4.2 -> 2.5.1 (#392936) 2025-04-06 16:36:14 +00:00
Wroclaw
86f32f6c42 mymcplus: use pkgs.callPackage and python3Packages in dependencies 2025-04-03 16:44:24 +02:00
Sefa Eyeoglu
f5ef9071f1 mcaselector: 2.5 -> 2.5.1
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2025-03-25 19:01:05 +01:00
R. Ryantm
5277ba6628 mcaselector: 2.4.2 -> 2.5 2025-03-25 01:35:14 +00:00
Weijia Wang
beb4baa1c7 optifine: 1.21.3_HD_U_J2 -> 1.21.4_HD_U_J3 (#383243) 2025-03-16 22:45:39 +01:00
Martin Weinelt
48b9e28395 ajour: drop
Has been archived upstream and I cannot determine whether it still works.
2025-03-12 12:16:47 +01:00
TomaSajt
ea2e419b58 ajour: use fetchCargoVendor 2025-03-10 23:05:27 +01:00
R. Ryantm
ce9d93ccba optifine: 1.21.3_HD_U_J2 -> 1.21.4_HD_U_J3 2025-02-19 04:18:49 +00:00
Peder Bergebakken Sundt
0cd04d3036 treewide: migrate fetchgit rev = "refs/tags/..." to tag 2025-01-04 00:19:17 +01:00
Weijia Wang
855bb7e2f8 optifine: 1.21.1_HD_U_J1 -> 1.21.3_HD_U_J2 (#363862) 2024-12-18 22:01:58 +01: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
21a0a5a406 optifine: 1.21.1_HD_U_J1 -> 1.21.3_HD_U_J2 2024-12-10 09:45:57 +00:00
Gutyina Gergő
d87b843af3 scarab: migrate to by-name 2024-12-05 14:55:07 +01:00
Fernando Rodrigues
ade41e6fd7 scarab: add sigmasquadron as co-maintainer
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-11-23 20:14:06 -03:00
David McFarland
bfaca46529 dotnet-sdk/runtime/aspnetcore: 6.0 -> 8.0 2024-11-17 18:35:19 -04:00
Victor Engmark
59ed3fa2c4 scarab: Apply scaling factor in Wayland
Sets `AVALONIA_GLOBAL_SCALE_FACTOR` to the GNOME desktop scaling factor
based on
<https://github.com/AvaloniaUI/Avalonia/issues/9390#issuecomment-2382126451>,
falling back to the X FreeType DPI setting if the former is not
available.

Does not include `gsettings` and `xrdb` in build inputs, since these
should be available on the relevant platforms.

Bash does not support decimal/floating point arithmetic, so this *does*
include `bc` in the runtime dependencies.
2024-11-10 14:56:44 +13:00
Victor Engmark
b49da1f764 scarab: Remove unused inputs 2024-11-10 13:56:47 +13: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
Reno Dakota
52bf1163fa treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
Weijia Wang
40a5bbd434 optifine: 1.20.4_HD_U_I7 -> 1.21.1_HD_U_J1 (#344633) 2024-11-02 18:29:23 +01:00
R. Ryantm
cb6e241bb8 mcaselector: 2.4.1 -> 2.4.2 2024-10-24 04:12:28 +00:00
Atemu
1dc34aa94a steamtinkerlaunch: add steamcompattool output
This makes it possible to integrate this into our steam derivation's
extraCompatPackages
2024-10-07 00:01:46 +02:00
Atemu
309fcf6eeb steamtinkerlaunch: don't wrap in order to preserve $0
Fixes https://github.com/NixOS/nixpkgs/issues/295902
2024-10-06 23:37:42 +02:00
huantian
2edfaf4d64 scarab: fix crash (#345038), don't bundle tests
By using testProjectFile, we can properly build the test and run it in
checkPhase, as well as not include the test in the derivation output.

This also happens to fix the startup crash as described in #345038.
2024-10-02 21:56:44 -07:00
huantian
718581f55b scarab: format with nixfmt 2024-10-02 21:55:31 -07:00
R. Ryantm
3548716263 optifine: 1.20.4_HD_U_I7 -> 1.21.1_HD_U_J1 2024-09-26 12:02:03 +00:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
David McFarland
e7fb591c92 dotnet-sdk-setup-hook: configure nuget in sourceRoot
Instead of creating a nuget.config in NIX_BUILD_TOP, and depending on
inheritance from sourceRoot, we'll make the required changes directly in
the latter.  This fixes packages where sourceRoot is NIX_BUILD_TOP.
2024-09-17 01:12:12 -03:00
Weijia Wang
eef1b89070 steam-rom-manager: 2.5.17 -> 2.5.22 (#327864) 2024-09-10 00:24:16 +02:00
David McFarland
e6c700ed11 dotnetCorePackages.fetchNupkg: override avalonia.x11 to find native libs 2024-09-06 16:32:08 -03:00