Commit Graph

45 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
sodiboo
c3e0876a96 mchprs: remove unused clang from build closure 2024-12-06 08:56:13 +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
github-actions[bot]
9badc90a26
Merge master into staging-next 2024-09-28 00:13:56 +00:00
R. Ryantm
94c90db735 mcdreforged: 2.13.1 -> 2.13.2 2024-09-27 10:36:02 +00:00
Artturin
f0e657f3b1 Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03: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
K900
b24e9a53ca Merge remote-tracking branch 'origin/staging-next' into staging 2024-09-17 09:07:34 +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
R. Ryantm
95ab3912aa mcfly: 0.9.1 -> 0.9.2 2024-08-12 14:01:44 +00:00
Alyssa Ross
8c2c5176de Revert "mcumgr-client.updateScript: drop"
This reverts commit eecd125eea.

The update script should work now, because upstream includes a
lockfile.
2024-08-09 09:14:44 +02:00
Alyssa Ross
dd557e7c0a mcumgr-client: 0.0.4 -> 0.0.7
At least a cargo update was required to build with Rust 1.80.

Cargo.lock no longer needs to be vendored, yay!

Link: https://github.com/rust-lang/rust/issues/127343
2024-08-09 09:14:44 +02:00
Alyssa Ross
eecd125eea mcumgr-client.updateScript: drop
This doesn't work.  I think it doesn't understand the Cargo.lock being
copied.  All it did for me when I ran it was update the version
number.
2024-08-07 08:19:15 +02:00
R. Ryantm
62c1bfd8e6 mcdreforged: 2.13.0 -> 2.13.1 2024-07-18 23:59:11 +00:00
Samuel Hierholzer (Adfinis AG)
c0a9d48d1a
refactor: move mcfly to by-name 2024-07-16 11:01:49 +02:00
Moraxyc
a085d030f1
mcdreforged: 2.12.3 -> 2.13.0 2024-07-06 17:25:39 +08:00
Sandro
1719216ed6
Merge pull request #306216 from Tommimon/master
mcontrolcenter: init at 0.4.1
2024-06-26 21:38:03 +02:00
Tommimon
cf77d47c83 mcontrolcenter: init at 0.4.1
Co-authored-by: Nadim Kobeissi <nadim@symbolic.software>
2024-06-16 23:37:20 +02:00
Moraxyc
2851412a92
mcdreforged: remove disabled line 2024-06-10 17:48:07 +08:00
Moraxyc
a27175d2e1
mcdreforged: add missed pyproject 2024-06-10 17:48:06 +08:00
Pol Dellaiera
76261f93f8
Merge pull request #312413 from Moraxyc/add-mcdreforged
mcdreforged: init at 2.12.3
2024-06-09 09:23:37 +02:00
Moraxyc
1bef9c7f26
mcdreforged: init at 2.12.3 2024-06-09 09:15:34 +08:00
R. Ryantm
697fa03cce mcap-cli: 0.0.44 -> 0.0.46 2024-06-04 22:30:02 +02:00
Nick Cao
6c75b09691
Merge pull request #313200 from otavio/auto-update/mcuboot-imgtool
mcuboot-imgtool: 2.0.0 -> 2.1.0
2024-05-21 18:14:49 -04:00
Otavio Salvador
b36536b83a mcuboot-imgtool: apply nixfmt-rfc-style
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2024-05-20 15:35:09 -03:00
Otavio Salvador
8c6e3d9175 mcuboot-imgtool: 2.0.0 -> 2.1.0
This also adds pyyaml as dependency. Thanks @NickCao for reporting.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2024-05-20 15:34:33 -03:00
R. Ryantm
703a884e89 mcfly-fzf: 0.1.2 -> 0.1.3 2024-05-20 14:06:39 +00:00
github-actions[bot]
09b96cbb7a
Merge master into staging-next 2024-04-30 12:01:12 +00:00
R. Ryantm
1bd26ab1ab mcap-cli: 0.0.43 -> 0.0.44 2024-04-29 21:57:04 +00: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. Ryantm
311aa96d8a mcap-cli: 0.0.42 -> 0.0.43 2024-04-18 08:16:24 +00:00
Sandro
ec2cb66cbe
Merge pull request #301928 from nevivurn/feat/gomod-workvendor
buildGoModule: vendorHash fixes for proxyVendor and Go 1.22
2024-04-14 21:57:17 +02:00
Yongun Seong
3e28bdc678
buildGoModule: inherit env from main package to goModule derivation 2024-04-14 14:27:44 +09:00
Otavio Salvador
1fcc6b0ea4 mcumgr-client: init at 0.0.4
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2024-04-07 16:37:59 -03:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
squalus
9a486b07bc mcap-cli: 0.0.38 -> 0.0.42
- update to 0.0.42
- changelog: https://github.com/foxglove/mcap/releases
- add update script
- add mainProgram meta attribute
2024-03-15 12:29:39 -07:00
Siddhartha
7bc271cdc0 mcomix: 3.0.0 -> 3.1.0 2024-02-04 18:00:25 -05:00
squalus
28c3be3312 mcap-cli: init at 0.0.38 2024-01-21 12:42:24 -08:00
Thiago Kenji Okada
42a3cb8ea4 mcomix: make chardet/pdf optional 2024-01-08 13:23:31 +00:00
Thiago Kenji Okada
eb32f20194 mcomix: 2.2.1 -> 3.0.0 2024-01-08 13:23:31 +00:00
Thiago Kenji Okada
b2d520bd14 mcomix: migrate to by-name 2024-01-08 12:31:44 +00:00
simonhammes
cba7a53a3d mcfly-fzf: init at 0.1.2 2023-12-31 02:49:38 +01:00
Otavio Salvador
1375f28c0e mcuboot-imgtool: fix pname
When I introduced the package I ended mixing projects, so now I am
fixing the pname as intended.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2023-11-19 16:14:55 -03:00
R. Ryantm
cc4b827c77 mcuboot-imgtool: 1.10.0 -> 2.0.0 2023-11-09 07:52:05 +00:00
Otavio Salvador
d10118ab7d mcuboot-imgtool: init at 1.10.0
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2023-10-31 14:52:05 -03:00