Commit Graph

28 Commits

Author SHA1 Message Date
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
db28cb6d78 go-musicfox: 4.4.1 -> 4.5.3 2024-06-20 22:37:15 +00:00
Aleksana
e18412f72b
go-musicfox: unbreak on darwin 2024-05-19 18:39:15 +08:00
R. Ryantm
0cebfcea11 go-musicfox: 4.4.0 -> 4.4.1 2024-05-18 23:09:00 +00:00
R. Ryantm
68e1d7b2aa go-musicfox: 4.3.3 -> 4.4.0 2024-05-12 23:08:35 +00:00
aleksana
e14716b7d2 go-musicfox: 4.3.1 -> 4.3.3 2024-04-01 10:38:40 +08:00
R. Ryantm
e9d69a1021 go-musicfox: 4.3.0 -> 4.3.1 2024-02-25 01:45:24 +00:00
Kirill Radzikhovskyy
450917023f go-musicfox: unpin go 2024-01-14 09:21:21 +09:00
R. Ryantm
775e650497 go-musicfox: 4.2.1 -> 4.3.0 2023-11-19 15:54:00 +00:00
aleksana
93263711f7 go-musicfox: 4.1.4 -> 4.2.1 2023-10-12 18:17:24 +08:00
R. Ryantm
eff3fae704 go-musicfox: 4.1.2 -> 4.1.4 2023-07-17 06:07:39 +00:00
R. Ryantm
b284516789 go-musicfox: 4.1.1 -> 4.1.2 2023-06-10 22:03:08 +00:00
R. Ryantm
7db6adad1f go-musicfox: 4.0.6 -> 4.1.1 2023-05-27 18:47:48 +00:00
Ruixi-rebirth
02adfa101a
go-musicfox: add nix-update-script to passthru
go-musicfox: add nix-update-script to passthru
2023-05-04 17:52:25 +08:00
Ruixi-rebirth
16100e187b
go-musicfox: 4.0.5 -> 4.0.6 2023-05-04 08:33:35 +08:00
aleksana
9a32bdc2b3 go-musicfox: removing clang dependency 2023-04-29 08:44:51 +08:00
Ruixi-rebirth
6c2f58bd6b
go-musicfox: 4.0.4 -> 4.0.5 2023-04-23 09:30:50 +08:00
Ruixi-rebirth
7f4751869a
go-musicfox: 4.0.3 -> 4.0.4 2023-04-21 20:13:50 +08:00
Ruixi-rebirth
e6955adeaa
go-musicfox: 4.0.2 -> 4.0.3 2023-04-15 09:13:15 +08:00
Ruixi-rebirth
a73470ec4e
go-musicfox: 4.0.1 -> 4.0.2 2023-04-14 18:50:47 +08:00
Ruixi-rebirth
c581a52a41
go-musicfox: 4.0.0 -> 4.0.1 2023-04-12 07:19:17 +08:00
Ruixi-rebirth
179eda92f8
go-musicfox: 3.7.7 -> 4.0.0 2023-04-09 15:43:32 +08:00
Ruixi-rebirth
8148798087
go-musicfox: 3.7.5 -> 3.7.7 2023-03-28 22:31:52 +08:00
zendo
94fad43baa go-musicfox: 3.7.3 -> 3.7.5 2023-03-21 11:15:49 +08:00
Ruixi-rebirth
63165e6af7
go-musicfox: 3.7.2 -> 3.7.3 2023-03-12 09:39:23 +08:00
Ruixi-rebirth
6e457dd0dd
go-musicfox: 3.7.0 -> 3.7.2 2023-03-05 21:19:15 +08:00
R. Ryantm
b28b7bc5f7 go-musicfox: 3.6.1 -> 3.7.0 2023-02-12 10:26:34 +00:00
zendo
b5158decda go-musicfox: init at 3.6.1 2023-01-31 11:17:25 +08:00