Commit Graph

31 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
lassulus
47880618c1
xivlauncher 1.1.0 -> 1.1.1 (#353151) 2024-11-15 10:52:48 +01: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
Matthew Brunelle
d4997d0868 xivlauncher 1.1.0 -> 1.1.1 2024-11-02 11:28:14 -04:00
Fabián Heredia Montiel
ccec93c1c7 treewide: replace webkitgtk to webkitgtk_4_0
sed -i 's/ webkitgtk\b/ webkitgtk_4_0/g' pkgs/**.nix
sed -i 's/(webkitgtk\b/(webkitgtk_4_0/g' pkgs/**.nix
sed -i 's/\.webkitgtk\b/.webkitgtk_4_0/g' pkgs/**.nix

webkitgtk is currently pointing to that specific ABI version but the
alias is going to start warning
2024-10-11 17:23:43 -06: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
Anderson Torres
f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03:00
Anderson Torres
fef89792a8 xine-ui: nixfmt-rfc-style
- postInstall no longer necessary
- use lib.* functions
- meta.mainProgram
2024-09-10 11:52:32 -03:00
Anderson Torres
a2a1553246 xine-ui: set strictDeps to true 2024-09-10 11:52:32 -03:00
Anderson Torres
8cd10b74ee xine-lib: nixfmt-rfc-style 2024-09-10 11:52:32 -03:00
Anderson Torres
d24640b9dd xine-lib: set strictDeps to true 2024-09-10 11:52:25 -03:00
Emily
1f15da3c69 xine-ui: 0.99.14 -> 0.99.14-unstable-2024-08-26 2024-09-10 11:52:25 -03:00
Emily
6ff2266896 xine-lib: 1.2.13 -> 1.2.13-unstable-2024-06-29
Includes fixes for FFmpeg 7.
2024-09-10 11:52:25 -03:00
Anderson Torres
af2f74585f {xine-lib,xine-ui}: migrate to by-name 2024-09-10 11:52:25 -03:00
R. Ryantm
5811b36ef4 xiu: 0.12.7 -> 0.13.0 2024-08-11 03:15:22 +00:00
Jared Baur
303bc9a08e
xilinx-bootgen: move to pkgs/by-name 2024-07-29 08:53:06 -07:00
ash
6acd31ddaf xivlauncher: 1.0.9 -> 1.1.0 2024-06-29 01:24:16 +01:00
ash
8655537389 xivlauncher: 1.0.8 -> 1.0.9 2024-06-27 21:15:52 +01: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
R. Ryantm
325de9f06b xiu: 0.12.6 -> 0.12.7 2024-05-18 03:01:00 +00:00
Christina Sørensen
9255c4d2d0
treewide: adopt orphaned packages
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-04-28 20:43:06 +02:00
Mario Rodas
2becf6e837 maintainers: drop marsam 2024-04-24 04:20:00 +00:00
R. Ryantm
163402aa53 xiu: 0.12.5 -> 0.12.6 2024-04-04 01:59:13 +00:00
Jade
4f589cabde xivlauncher: remove TZ environment variable due to timezone bug 2024-03-26 03:00:17 +01:00
Jade
4a5b766ae4
xivlauncher: migrate to by-name 2024-03-25 13:38:48 -04:00
R. Ryantm
e2cb59b99e xiu: 0.12.4 -> 0.12.5 2024-03-16 02:53:37 +00:00
Mario Rodas
4efe267df2 xiu: 0.12.0 -> 0.12.4
Diff: https://github.com/harlanc/xiu/compare/v0.12.0...v0.12.4

Changelog: https://github.com/harlanc/xiu/releases/tag/v0.12.4
2024-03-02 07:20:00 +00:00
R. Ryantm
93709c8d81 xiu: 0.10.0 -> 0.12.0 2024-03-02 07:19:14 +00:00
Mario Rodas
a1171e4da0 xiu: init at 0.10.0 2024-02-13 04:20:00 +00:00
Weijia Wang
8590df67b9 plistcpp: migrate to by-name, refactor 2024-01-13 07:17:08 +01:00
Weijia Wang
a0979ec041 xib2nib: migrate to by-name, refactor 2024-01-13 07:17:03 +01:00