Commit Graph

43 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
misuzu
d641ace370
rpPPPoE: 3.12 -> 4.0 (#349480) 2024-12-05 16:02:51 +02:00
Dict Xiong
934cf4cdea rpPPPoE: 3.12 -> 4.0 and build kernel mode plugin
The old rpPPPoE package from Roaring Penguin is no longer maintained
and the download link is also inaccessible. So I switch the upstream
to https://github.com/dfskoll/rp-pppoe.

Also, according to the discussions in
https://github.com/dfskoll/rp-pppoe/issues/32, it is strongly
recommended to use rpPPPoE in the kernel mode, as it is more stable
and performant than in the user mode. So I enable the compilation of
the kernel mode plugin `rp-pppoe.so`. It will be available at
`/run/current-system/sw/lib/rp-pppoe.so`.
2024-11-15 11:03:34 +08:00
Arthur Gautier
bed1d1e44a rpm-sequoia: fixup darwin build
When building derivations that depends on rpm on darwin, we get the
following error:
```
dyld[69225]: Library not loaded: /nix/store/cz9sppfrs9ag34lq2pq6wmhspwcnvbxq-rpm-sequoia-1.7.0/lib/librpm_sequoia.1.7.0.dylib
  Referenced from: <0EA94AC5-F54A-3791-9374-4092232F33A1> /nix/store/mak6qp2pvgz19dn0fb0pr2lksgca43qp-rpm-4.20.0/lib/librpmio.10.2.0.dylib
  Reason: tried: '/nix/store/cz9sppfrs9ag34lq2pq6wmhspwcnvbxq-rpm-sequoia-1.7.0/lib/librpm_sequoia.1.7.0.dylib' (no such file), '/System/Vol>
cpio: premature end of archive
```

This commit adds the correct symlinks on darwin.
2024-11-12 14:13:12 -08:00
Arthur Gautier
a2d3ae0286 rpm-sequoia: init at 1.7.0 2024-11-11 11:02:55 -08: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
Artturin
a5e267e59e
rpiboot: add updateScript (#351604) 2024-11-06 00:06:56 +02:00
R. Ryantm
df207b5eb7 rpcs3: 0.0.33-16999-938306a7b -> 0.0.33-17070-8b8396b94 2024-10-30 00:22:26 +00:00
Steffen Vogel
fc489f3789 rpiboot: add updateScript 2024-10-27 10:05:58 +01:00
Steffen Vogel
108e1f1eff rpiboot: add stv0g as maintainer 2024-10-24 20:14:52 +02:00
Steffen Vogel
e59dcc1eb9 rpiboot: remove 'with lib' usage 2024-10-24 20:14:11 +02:00
Steffen Vogel
eceb047690 rpiboot: install more gadgets
The usboot repo comes with a bunch of different gadgets
which can be used to boot Raspberry Pis via a USB boot cable.
Until now, we have only included the `msd` (Mass-storage device).
However, this gadget is deprecated and has since been replaced by
the `mass-storage-gadget`. Furthermore, there are now more gadgets
like the one for configuring secure boot or update/recover RPi4/5
boot eeprom.

This change installs the new gadgets under $out/usr/share/rpiboot.
2024-10-24 20:09:15 +02:00
Steffen Vogel
51c1e32509 rpiboot: 20221215-105525 -> 20240926-102326 2024-10-24 20:08:45 +02:00
Steffen Vogel
e01877fecb rpiboot: format with nixfmt (RFC166) 2024-10-24 20:03:10 +02:00
Steffen Vogel
9808443bdd rpiboot: migrate to by-name 2024-10-24 20:02:36 +02:00
R. Ryantm
f388f87efa rpcs3: 0.0.33-16959-60b5adab6 -> 0.0.33-16999-938306a7b 2024-10-02 16:27:56 +00:00
R. Ryantm
64267a5ec7 rpcs3: 0.0.33-16930-d1648dd70 -> 0.0.33-16959-60b5adab6 2024-09-26 11:40:41 +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
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
Aleksana
0465a01b69
pkgs/by-name: rewrite hashes in SRI format (#341924) 2024-09-15 19:56:06 +08: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
R. Ryantm
9c3825f09d rpcs3: 0.0.33-16892-7e3b8b5cd -> 0.0.33-16930-d1648dd70 2024-09-15 05:16:37 +00:00
Anthony ROUSSEL
fc61ce1f8c rpi-imager: migrate to pkgs/by-name and reformat with nixfmt-rfc-style 2024-09-12 20:04:09 +02:00
R. Ryantm
edb206d062 rpcs3: 0.0.32-16875-3b36df48e -> 0.0.33-16892-7e3b8b5cd 2024-09-04 18:23:35 +00:00
R. Ryantm
2d1d10b259 rpcs3: 0.0.32-16857-1c16ada67 -> 0.0.32-16875-3b36df48e 2024-08-29 09:45:44 +00:00
R. Ryantm
8e80b33092 rpcs3: 0.0.32-16833-981a1c56f -> 0.0.32-16857-1c16ada67 2024-08-23 14:22:33 +00:00
R. Ryantm
e7d35a6cf9 rpcs3: 0.0.32-16784-03a612487 -> 0.0.32-16833-981a1c56f 2024-08-15 23:22:05 +00:00
R. Ryantm
254e1349c9 rpcs3: 0.0.32-16711-501e9260b -> 0.0.32-16784-03a612487 2024-08-09 04:24:36 +00:00
R. Ryantm
df39ab7ae7 rpcs3: 0.0.32-16659-33851d51a -> 0.0.32-16711-501e9260b 2024-07-28 05:54:55 +00:00
Aleksana
106e145e1d
Merge pull request #324909 from matteo4375/rpcs3-add-gapps-hook
rpcs3: add gapps hook to fix crashing when opening file picker
2024-07-09 12:17:43 +08:00
matteo bob
8d3dcbe391 rpcs3: add gapps hook for gtk file picker support 2024-07-08 10:14:05 -04:00
R. Ryantm
e311c4ca38 rpcs3: 0.0.32-16648-71524271e -> 0.0.32-16659-33851d51a 2024-07-06 11:48:42 +00:00
R. Ryantm
ddd66ab2de rpcs3: 0.0.32-16614-5b973448b -> 0.0.32-16648-71524271e 2024-06-29 07:29:31 +00:00
R. Ryantm
c44274e8b1 rpcs3: 0.0.31-16391-39e946630 -> 0.0.32-16614-5b973448b 2024-06-16 20:03:29 +00:00
R. Ryantm
647c6de951 rpcs3: 0.0.31-16377-08c3a38b6 -> 0.0.31-16391-39e946630 2024-04-30 21:47:53 +00:00
R. Ryantm
64ee2c5ef8 rpcs3: 0.0.31-16364-dff7352e2 -> 0.0.31-16377-08c3a38b6 2024-04-25 16:31:57 +00:00
R. Ryantm
5b0e42429a rpcs3: 0.0.31-16334-fba1db29b -> 0.0.31-16364-dff7352e2 2024-04-22 23:09:39 +10:00
R. Ryantm
aece25266a rpcs3: 0.0.31-16271-4ecf8ecd0 -> 0.0.31-16334-fba1db29b 2024-04-13 17:56:58 +00:00
Zane van Iperen
e9b79cc33c
rpcs3: 0.0.29-15726-ebf48800e -> 0.0.31-16271-4ecf8ecd0
Also fix the update script.
2024-03-31 10:42:18 +10:00
Martino Fontana
e468e3b9e2 rpcs3: add USE_SDL and USE_DISCORD_RPC flags 2024-03-01 15:59:37 +01:00
Martino Fontana
038eedd6cb rpcs3: use lib.cmakeBool 2024-03-01 15:58:51 +01:00
IceDBorn
40b4ae3c42 rpcs3: add deps for wayland support 2024-02-21 02:28:23 +02:00
Zane van Iperen
4076d98812
rpcs3: 0.0.28-15409-fd6829f75 -> 0.0.29-15726-ebf48800e
Also convert to pkgs/by-name.

Closes #268112
2023-11-23 02:30:37 +10:00