Commit Graph

35 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
e56d88b500 rmapi: 0.0.27.1 -> 0.0.28 2024-11-29 20:04:10 +00:00
tomberek
a42bdea0a7
rfmakecloud: 0.0.18 -> 0.0.21 (#356963) 2024-11-22 00:35:19 -05:00
Dominique Martinet
f27f1e0931 nixos/tests/rmfakecloud: new test 2024-11-18 22:59:41 +09:00
Dominique Martinet
6059f5ad4e rfmakecloud: 0.0.18 -> 0.0.21 2024-11-18 22:59:41 +09:00
Dominique Martinet
b15ed174fa rmfakecloud: run nixfmt 2024-11-18 22:59:40 +09:00
Dmitry Ivankov
837ed96b97
rmapi: 0.25 -> 0.0.27.1 and switching to a maintained fork (#355090)
Current version is outdated and falls behind server API:
```console
$ rmapi
ERROR: 2024/11/10 23:41:20 main.go:77: failed to build documents tree, last error: request failed with status 410
```

https://github.com/juruen/rmapi repo is archived
https://github.com/ddvk/rmapi looks like a viable fork

This fork and version bump is suggested in
https://www.reddit.com/r/RemarkableTablet/comments/1flzmqq/rmapi_error/
https://github.com/ddvk/rmapi/issues/5
2024-11-17 09:56:29 +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
Weijia Wang
fe83fcfbe8
rmg-wayland: 0.6.5 -> 0.6.6 (#346279) 2024-11-02 19:10:52 +01:00
Charlie Root
e48c3685b0
rmpc: add bloxx12 to maintainers 2024-11-01 21:29:26 +01:00
Charlie Root
623598bd74
rmpc: 0.4.0 -> 0.6.0
Bump the rmpc version to 0.6.0, since 0.4.0 is over two months old
already.
https://github.com/mierak/rmpc/blob/master/CHANGELOG.md#060---2024-10-28
2024-11-01 21:25:49 +01:00
R. Ryantm
c88016eec8 rmg-wayland: 0.6.5 -> 0.6.6 2024-10-03 23:52:30 +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
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
Donovan Glover
4fb3297389
rmpc: set meta.platforms to linux 2024-08-31 08:40:57 -04:00
Donovan Glover
0af00aa52d
rmpc: install man pages and shell completions 2024-08-25 20:14:10 -04:00
Donovan Glover
4c53299bc3
rmpc: 0.2.1 -> 0.4.0 2024-08-25 20:13:02 -04:00
Donovan Glover
9e024bf247
rmpc: init at 0.2.1 2024-07-27 20:28:19 -04:00
Sigmanificient
61fe0c0416 pkgs/by-name: remove unused arguments 2024-07-26 10:11:07 +02:00
OPNA2608
39af80aaca rmg: 0.5.7 -> 0.6.5 2024-07-05 13:07:46 +02:00
Dominique Martinet
0b1f0db717 rmfakecloud: migrate to by-name 2024-05-12 19:05:43 +09:00
github-actions[bot]
095591c0d4
Merge master into staging-next 2024-05-03 06:01:07 +00:00
Kira Bruneau
369654d204
Merge pull request #308375 from kira-bruneau/rmg
rmg: add option to build with experimental wayland support
2024-05-02 23:56:51 -04:00
Kira Bruneau
c4cbe99d0c rmg: add option to build with experimental wayland support 2024-05-01 17:55:19 -04:00
github-actions[bot]
24c668d7e0
Merge master into staging-next 2024-04-29 00:02:23 +00:00
LordGrimmauld
dc3fb07fed rmenu: 1.2.1 -> 1.2.2 2024-04-28 22:06:59 +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
LordGrimmauld
e279ead388 rmenu: 1.2.0 -> 1.2.1 2024-04-16 21:07:15 +02:00
LordGrimmauld
a5639cb6a8 rmenu: init at 1.2.0 2024-04-03 18:09:53 +02:00
OPNA2608
0ac780fa94 rmg: Fix licensing
- Fix meta.license
- Offer an extra, default-false option to build with license-compromising plugin
  - Taint meta.license to unfree when used
2024-01-28 22:33:51 +01:00
OPNA2608
0abe7e75d2 rmg: Fetch patch for bad GNUInstallDirs variable concatenation
Fixes startup
2024-01-28 21:41:04 +01:00
OPNA2608
58bea8a94c rmg: 0.5.6 -> 0.5.7 2024-01-28 21:23:27 +01:00
R. Ryantm
2f8b1487b4 rmg: 0.5.5 -> 0.5.6 2024-01-26 22:14:45 +00:00
R. Ryantm
9ac177fcf3 rmg: 0.5.4 -> 0.5.5 2024-01-16 18:23:10 +00:00
slam-bert
5a0bebf0fd
rmg: init at 0.5.4
rmg: append to init at 0.5.4

rmg: further add to init at 0.5.4

rmg: (hopefully) finally finish init at 0.5.4

rmg: fix qt imports for init at 0.5.4

rmg: move 'which' to nativeBuildInputs for init at 0.5.4

rmg: try only importing 'which' in init at 0.5.4

rmg: fix a whitespace error in init at 0.5.4

rmg: remove 'dash' for init at 0.5.4

rmg: fix up qt packages for init at 0.5.4

rmg: remove seperate 'wrapQtAppsHook' from imports for init at 0.5.4

rmg: add myself to 'maintainer-list.nix' for init at 0.5.4
2024-01-14 01:00:09 -06:00