Commit Graph

19 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
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
R. Ryantm
a2c19a6841 supersonic: 0.13.0 -> 0.13.1 2024-08-21 04:16:35 +00:00
R. Ryantm
d31361e61a supersonic-wayland: 0.12.0 -> 0.13.0 2024-07-29 06:53:08 +00:00
R. Ryantm
38ca4d66f5 supersonic-wayland: 0.11.0 -> 0.12.0 2024-07-02 02:57:50 +00:00
R. Ryantm
cb41571505 supersonic-wayland: 0.10.1 -> 0.11.0 2024-06-08 13:12:40 +02:00
Stanislav Ochotnický
fc67e85160 supersonic: 0.10.0 -> 0.10.1
Minor bugfix https://github.com/dweymouth/supersonic/releases/tag/v0.10.1
2024-04-24 11:52:24 +02:00
R. Ryantm
b37b150703 supersonic-wayland: 0.9.1 -> 0.10.0 2024-04-17 17:39:21 +00:00
R. Ryantm
34c105aa30 supersonic-wayland: 0.9.0 -> 0.9.1 2024-02-26 05:58:58 +00:00
Zane van Iperen
019c26e90b
supersonic: 0.8.2 -> 0.9.0 2024-01-28 02:52:18 +10:00
R. Ryantm
17edec32a2 supersonic-wayland: 0.8.1 -> 0.8.2 2023-12-24 09:46:22 +00:00
Zane van Iperen
5da8a01efd
supersonic: 0.8.0 -> 0.8.1 2023-12-07 11:26:11 +10:00
Zane van Iperen
fe9acd9161
supersonic: 0.7.0 -> 0.8.0
Also switch mpv to mpv-unwrapped, as mpv pulls in yt-dlp and other
unnecessary dependencies.
2023-11-16 21:31:49 +10:00
Zane van Iperen
70266dd7db
supersonic: 0.6.0 -> 0.7.0 2023-11-08 06:17:31 +10:00
Stanislav Ochotnický
e5b49fe1ea supersonic: Add MediaPlayer framework on Darwin
Version 0.6.0 has a new dependency
2023-10-24 20:24:00 +02:00
Stanislav Ochotnický
d8574359c2 supersonic: 0.5.2 -> 0.6.0 2023-10-24 10:02:53 +02:00
Weijia Wang
b869f7d909 supersonic: drop glfw3.buildInputs 2023-10-12 15:55:16 +02:00
Zane van Iperen
cf2c289cbd supersonic: add darwin support 2023-10-11 21:19:22 +02:00
Zane van Iperen
0c1c004908
supersonic: init at 0.5.2
Co-authored-by: Stanislav Ochotnický <stanislav@ochotnicky.com>
2023-09-29 23:27:17 +10:00