Commit Graph

86 Commits

Author SHA1 Message Date
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
4b41775396 upsun: 5.0.22 -> 5.0.23 2024-12-09 17:28:48 +00:00
Martin Weinelt
8f2b01cb67
update-python-libraries: migrate git revs to use tag 2024-12-05 23:26:45 +01:00
Austin Horstman
8d02c5670f
dotnet: improve buildDotnetGlobalTool (#361464) 2024-12-04 23:16:16 -06:00
Aleksana
140a1efbe3
upscaler: 1.4.0 -> 1.4.1 (#361670) 2024-12-05 10:43:14 +08:00
34j
d637b85e25
treewide: replace --enable-wayland-ime with --enable-wayland-ime=true for the arguments to properly work (#361341) 2024-12-05 00:06:22 +05:30
seth
8539595cbe
upscaler: 1.4.0 -> 1.4.1 2024-12-04 01:13:00 -05:00
David McFarland
8e497c4232 upgrade-assistant: 0.5.820 -> 0.5.829 2024-12-03 10:58:58 -04:00
nixpkgs-merge-bot[bot]
cc252426b0
updatecli: 0.82.0 -> 0.88.0 (#360016) 2024-11-30 17:34:59 +00:00
Sefa Eyeoglu
01c33fb6d7
treewide: add --enable-wayland-ime flag to all Electron packages that uses NIXOS_OZONE_WL (#358620) 2024-11-29 18:48:23 +01:00
R. Ryantm
5395596316 updatecli: 0.82.0 -> 0.88.0 2024-11-29 00:58:06 +00:00
jopejoe1
e51a9df08a treewide: use dpkg setup hook 2024-11-26 21:57:29 +01:00
34j
8ae2932d56 add --enable-wayland-ime flag to all Electron packages that uses NIXOS_OZONE_WL 2024-11-24 13:34:28 +09:00
Grimmauld
3431d2041a
upscaler: init at 1.4.0 2024-11-19 10:09:42 +01:00
Grimmauld
6da00ff003
upscayl-ncnn: init at 20240601-103425 2024-11-19 10:09:42 +01:00
github-actions[bot]
50eb4d03f7
Merge master into staging-next 2024-11-13 06:04:52 +00:00
Aleksana
778d2657ec
upgrade-assistant: init at 0.5.820 (#352011) 2024-11-13 10:45:52 +08:00
Austin Horstman
17cb1c22c6
upgrade-assistant: init at 0.5.820 2024-11-11 10:01:57 -06:00
Emily
ce788776a5 Merge master into staging-next 2024-11-09 12:51:01 +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
jaredmontoya
6822c26a18 upscayl: add NIXOS_OZONE_WL 2024-10-30 10:58:06 +01:00
jaredmontoya
528ffc4e7f upscayl: migrate to by-name 2024-10-30 10:40:59 +01:00
Paul Meyer
25c65f3fe0 uplosi: 0.3.0 -> 0.3.1
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-10-23 08:51:28 +02:00
R. Ryantm
b7faa00c01 upbound: 0.33.0 -> 0.34.0 2024-10-09 01:59:28 +00:00
R. RyanTM
17499a9cc9
upsun: 5.0.21 -> 5.0.22 (#346825) 2024-10-06 12:09:39 +02:00
h7x4
1040a45f39
uppaal: init at 5.0.0 (#345571) 2024-10-01 20:55:20 +02:00
Morten Munk
4e0b430f14
uppaal: init at 5.0.0 2024-10-01 20:00:37 +02: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
Aleksana
cc2c0e99a2
upsun: 5.0.16 -> 5.0.21; add updateScript (#331473) 2024-09-22 17:04:40 +08:00
Laurent Arnoud
cba7b6b6ca
upsun: 5.0.16 -> 5.0.21 2024-09-18 17:07:52 +02:00
nicoo
2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00
Paul Meyer
47e8b2b2d5
{cronutils,formatjson5,igvm-tooling,uplosi}: add passthru.update-script (#338136) 2024-09-09 09:11:28 +02:00
R. Ryantm
8fb18a4d35 uplosi: 0.2.1 -> 0.3.0 2024-09-05 17:27:39 +00:00
R. Ryantm
e21a4cad4d upbound: 0.32.1 -> 0.33.0 2024-09-03 20:59:39 +00:00
Paul Meyer
99265c7248 uplosi: add passthru.update-script
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-08-29 10:46:18 +02:00
Laurent Arnoud
363ab2fe36
upsun: add updateScript 2024-08-19 09:58:34 +02:00
R. Ryantm
7aa38bfe92 upbound: 0.31.0 -> 0.32.1 2024-08-11 13:15:31 +00:00
R. Ryantm
20c5b3ab8a updatecli: 0.80.0 -> 0.82.0 2024-08-05 21:12:24 +00:00
Sandro
91299a7cdb
Merge pull request #328863 from katexochen/upower/up 2024-07-31 14:01:42 +02:00
R. Ryantm
4c88601d24 updatecli: 0.78.0 -> 0.80.0 2024-07-24 09:58:59 +00:00
Paul Meyer
be896c0d9b upower-notify: move to by-name, rename
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-07-21 10:44:27 +02:00
github-actions[bot]
eccfb1ee94
Merge staging-next into staging 2024-06-15 00:02:47 +00:00
Weijia Wang
7b8e00eb27
Merge pull request #318165 from r-ryantm/auto-update/upbound
upbound: 0.30.0 -> 0.31.0
2024-06-14 23:48:13 +02:00
github-actions[bot]
098fe8ee26
Merge staging-next into staging 2024-06-14 18:01:39 +00:00
Jörg Thalheim
66e35ac7f9
Merge pull request #315979 from croissong/updatecli-improve-package-quality
updatecli: improve package quality
2024-06-14 16:15:21 +02:00
Martin Weinelt
abdf5dc772
treewide: remove pythonRelaxDepsHook references
It is is now provided automatically, when `pythonRelaxDeps` or
`pythonRemoveDeps` is defined through `mk-python-derivation`.
2024-06-14 14:52:00 +02:00
Jan Moeller
cdf10e27a9
updatecli: format with nixfmt-rfc-style 2024-06-14 10:59:27 +02:00
Jan Moeller
dfd695979f
updatecli: improve package quality
- remove superfluous use of `pname`
- add `testers.testVersion`
2024-06-14 10:58:59 +02:00
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00