Commit Graph

15 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
Arne Keller
13659a54fc
nixos/qgroundcontrol: fix qgroundcontrol module (#336183) 2024-12-09 06:47:34 +01:00
R. Ryantm
338849ddd6
qgroundcontrol: 4.4.2 -> 4.4.3 2024-12-02 15:05:29 -05:00
Gavin John
380350455a
qgroundcontrol: Disable bad message 2024-10-02 15:06:42 -07: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
Guilhem Saurel
92e27aee5f qgv: init at 1.3.5 2024-09-23 16:52:24 +02:00
Gavin John
5bffe8d9b5
qgroundcontrol: switch to using libsForQt5 2024-09-13 16:02:00 -07:00
Gavin John
4c6a603295
qgroundcontrol: Remove pname misuse 2024-09-13 16:01:57 -07:00
Gavin John
54bda8090b
qgroundcontrol: add changelog 2024-09-13 16:01:56 -07:00
Gavin John
e78df2f24e
qgroundcontrol: remove a with lib; 2024-09-13 16:01:54 -07:00
Gavin John
4f688aecec
qgroundcontrol: Replace homepage with https link 2024-09-13 16:01:53 -07:00
Gavin John
16cba249af
qgroundcontrol: nixfmt 2024-09-13 16:01:51 -07:00
Gavin John
df27526744
qgroundcontrol: move to by-name 2024-09-13 16:01:50 -07: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
Weijia Wang
93254942b1 qgrep: 1.1 -> 1.3 2024-01-18 04:35:52 +01:00