Commit Graph

14 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
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