Commit Graph

22 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
34j
d637b85e25
treewide: replace --enable-wayland-ime with --enable-wayland-ime=true for the arguments to properly work (#361341) 2024-12-05 00:06:22 +05:30
Aleksana
1c7406ae55
mqtt-exporter: init at 1.5.0 (#360486) 2024-12-01 18:32:26 +08:00
Fabian Affolter
1a2fdaae29 mqtt-exporter: init at 1.5.0
Generic MQTT Prometheus exporter for IoT

https://github.com/kpetremann/mqtt-exporter
2024-11-30 17:44:53 +01:00
R. Ryantm
cb923be978 mqtt-randompub: 0.2.2 -> 0.3.0 2024-11-30 13:16:12 +00:00
Fabian Affolter
972f716b4f
mqtt-randompub: init at 0.2.2 (#360094) 2024-11-30 10:05:07 +01:00
Fabian Affolter
32d6f52008 mqtt-randompub: init at 0.2.2
Tool that sends random MQTT messages to random topics

https://github.com/fabaff/mqtt-randompub
2024-11-29 11:02:17 +01:00
34j
8ae2932d56 add --enable-wayland-ime flag to all Electron packages that uses NIXOS_OZONE_WL 2024-11-24 13:34:28 +09: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
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
Adam C. Stephens
4df8e5875f
mqttx: 1.9.9 -> 1.10.1 (#337424) 2024-09-02 20:37:21 -04:00
TomaSajt
e436eb9dfa
mqtt-explorer: use electron.dist 2024-08-27 21:37:16 +02:00
Shogo Takata
8125b9f8dc
mqttx: 1.9.9 -> 1.10.1 2024-08-26 17:49:43 +09:00
Fabian Affolter
db5126d798 mqttui: 0.21.0 -> 0.21.1
Diff: https://github.com/EdJoPaTo/mqttui/compare/refs/tags/v0.21.0...v0.21.1

Changelog: https://github.com/EdJoPaTo/mqttui/blob/v0.21.1/CHANGELOG.md
2024-08-16 22:07:29 +02:00
tsandrini
9619b75d0f
mqtt-explorer: init at 0.4.0-beta.6
MQTT-Explorer: fixup darwin conditionals

MQTT-Explorer: fixup darwin installPhase

MQTT-Explorer: add tests to checkPhase

MQTT-Explorer: replace cd with pushd, popd

mqtt-explorer: change name, fixup license

mqtt-explorer: change package name, fixup license
2024-07-18 09:34:49 +02:00
Martino Fontana
6e465f4550 treewide: fix use of extraPkgs in AppImages
Mostly removes unnecessary use of `extraPkgs = pkgs: appimageTools.defaultFhsEnvArgs.multiPkgs pkgs;`
This caused some packages to be listed twice.

Also, fix some styling, and accidental use of top-level packages (sometimes due to the `with;` keyword, e.g. on `beeper`).
Remove inclusions of `bash`, since `bashInteractive` is already present by default.
2024-05-13 20:35:07 +02:00
Peder Bergebakken Sundt
985aa8174d treewide: unbreak appimageTools.wrapType2 builds
`appimageTools.wrapType2` no longer creates a binary `$out/bin/${name}` if `pname` and `version` is provided.
Derivations that have worked around this behavior with a `mv $out/bin/{${name},${pname}}` broke as a result.
This should fix most instances.

contex: #271071
2024-04-24 15:26:52 +02:00
Fabian Affolter
be74a1bf4b mqttui: format with nixfmt 2024-04-20 12:31:01 +02:00
Fabian Affolter
1c455ee3ff mqttui: 0.20.0 -> 0.21.0
Diff: https://github.com/EdJoPaTo/mqttui/compare/refs/tags/v0.20.0...v0.21.0

Changelog: https://github.com/EdJoPaTo/mqttui/blob/v0.21.0/CHANGELOG.md
2024-04-20 12:30:21 +02:00
Nikolay Korotkiy
29e93ac454
mqttui: migrate to by-name 2024-03-05 19:07:08 +04:00
datafoo
6843e5da03 mqttx: 1.9.8 -> 1.9.9 2024-02-08 15:18:49 +01:00
Gaël Reyrol
960683630f
mqttx: init at 1.9.8 2024-01-04 07:52:46 +01:00