Commit Graph

18 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
José Romildo
dcc8ea2e01 lxqt.libsysstat: 1.0.0 -> 1.1.0 2024-11-06 23:22:14 -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
José Romildo
83b675c121 lxqt.libsysstat: 0.4.6 -> 1.0.0 2024-04-19 14:38:58 -03:00
José Romildo
b448e62d46 lxqt.libsysstat: use hash attribute instead of sha256 2023-11-10 08:36:07 -03:00
José Romildo
4a9e77cea0 lxqt: use gitUpdater instead of lxqtUpdateScript 2022-09-27 23:41:53 -03:00
Rick van Schijndel
7a68548822
treewide: pkgs/desktops: mark broken for darwin 2022-05-30 13:42:58 +02:00
José Romildo
417b1c12b2 lxqt: add maintainers team 2022-05-01 13:03:21 -03:00
José Romildo
4f2caec03d lxqt.libsysstat: 0.4.5 -> 0.4.6 2021-11-05 14:35:00 -03:00
José Romildo Malaquias
84ac173af3 lxqt.libsysstat: 0.4.4 -> 0.4.5 2021-04-16 17:36:31 -03:00
José Romildo Malaquias
e0bc5ad224 lxqt.libsysstat: 0.4.3 -> 0.4.4 2020-12-16 09:55:57 -03:00
José Romildo Malaquias
8a3a3e18c7 lxqt.libsysstat: 0.4.2 -> 0.4.3 2020-04-29 16:12:27 -03:00
José Romildo Malaquias
f27301cd32 lxqt: add updater script to individual packages 2020-04-29 16:12:26 -03:00
José Romildo Malaquias
5abed165e0 lxqt: format nix expressions with nixpkgs-fmt 2020-04-29 16:12:26 -03:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
worldofpeace
3167eb3780 lxqt: use qt5's mkDerivation
This should also ensure that the applications get wrapped
appropriately.
2019-08-19 21:22:18 -04:00
José Romildo Malaquias
b0b03df748 libsysstat: 0.4.1 -> 0.4.2 2019-02-12 09:02:20 -02:00
José Romildo Malaquias
2047e28c7f lxqt: mv contents of base, core and optional to parent directory (#46484) 2018-09-10 23:00:14 +02:00