Commit Graph

18 Commits

Author SHA1 Message Date
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
Gaetan Lepage
eb191b226e fwupd: 1.9.24 -> 1.9.25
Diff: https://github.com/fwupd/fwupd/compare/1.9.24...1.9.25

Changelog: https://github.com/fwupd/fwupd/releases/tag/1.9.25
2024-09-25 14:59:25 +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
Gaetan Lepage
a80d1619dd fwupd: 1.9.23 -> 1.9.24
Diff: https://github.com/fwupd/fwupd/compare/1.9.23...1.9.24

Changelog: https://github.com/fwupd/fwupd/releases/tag/1.9.24
2024-08-22 13:59:12 +02:00
Gaetan Lepage
adc153d953 fwupd: 1.9.22 -> 1.9.23
Diff: https://github.com/fwupd/fwupd/compare/1.9.22...1.9.23

Changelog: https://github.com/fwupd/fwupd/releases/tag/1.9.23
2024-08-05 15:37:30 +02:00
Gaetan Lepage
6cd3e18769 fwupd: 1.9.21 -> 1.9.22
Diff: https://github.com/fwupd/fwupd/compare/1.9.21...1.9.22

Changelog: https://github.com/fwupd/fwupd/releases/tag/1.9.22
2024-07-27 12:28:34 +02:00
Gaetan Lepage
b855f290b7 fwupd: 1.9.20 -> 1.9.21
Diff: https://github.com/fwupd/fwupd/compare/1.9.20...1.9.21

Changelog: https://github.com/fwupd/fwupd/releases/tag/1.9.21
2024-06-14 08:21:16 +02:00
r-vdp
150203f66b
fwupd: 1.9.19 -> 1.9.20
https://github.com/fwupd/fwupd/releases/tag/1.9.20
2024-05-20 16:20:53 +02:00
OPNA2608
861789b3a0 fwupd.passthru.test-firmware: unstable-2022-04-02 -> 0-unstable-2022-04-02 2024-05-04 19:44:25 +02:00
Pol Dellaiera
a21593956c
Merge pull request #308879 from r-vdp/fwupd
fwupd: 1.9.18 -> 1.9.19
2024-05-04 00:07:46 +02:00
r-vdp
950c89779e
fwupd: 1.9.18 -> 1.9.19
Changelog: https://github.com/fwupd/fwupd/releases/tag/1.9.19
2024-05-03 22:12:00 +02:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
r-vdp
5df54b52dd
fwupd: 1.9.16 -> 1.9.18
https://github.com/fwupd/fwupd/releases/tag/1.9.17
https://github.com/fwupd/fwupd/releases/tag/1.9.18
2024-04-24 00:04:54 +02:00
r-vdp
a3b621afff fwupd: 1.9.15 -> 1.9.16
https://github.com/fwupd/fwupd/releases/tag/1.9.16
2024-04-06 17:10:59 +02:00
r-vdp
93231d7103
fwupd: 1.9.14 -> 1.9.15
https://github.com/fwupd/fwupd/releases/tag/1.9.15
2024-03-12 11:45:12 +01:00
r-vdp
2116b71498
fwupd: 1.9.13 -> 1.9.14
https://github.com/fwupd/fwupd/releases/tag/1.9.14
2024-02-27 10:24:28 +01:00
r-vdp
12de1b3a38
fwupd: 1.9.12 -> 1.9.13
Changelog: https://github.com/fwupd/fwupd/releases/tag/1.9.13
2024-02-09 16:45:09 +01:00
r-vdp
643b6647fb
fwupd: move to by-name 2024-01-24 20:29:08 +01:00