Commit Graph

18 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
44a2013436 vulkan-caps-viewer: 3.41 -> 3.42 2024-09-15 16:42:00 +00:00
R. Ryantm
d9999db7ab vulkan-caps-viewer: 3.40 -> 3.41 2024-06-28 21:15:30 +00:00
R. Ryantm
b40420a589 vulkan-caps-viewer: 3.34 -> 3.40 2024-04-01 04:51:16 +00:00
R. Ryantm
fc50b57f66 vulkan-caps-viewer: 3.33 -> 3.34 2024-03-14 00:48:54 +00:00
R. Ryantm
0173f76890 vulkan-caps-viewer: 3.32 -> 3.33 2024-01-28 14:42:54 +00:00
PedroHLC ☭
0758258539
vulkan-caps-viewer: 3.31 -> 3.32 2023-09-10 19:07:34 -03:00
PedroHLC ☭
7298fef041
vulkan-caps-viewer: 3.30 -> 3.31 2023-05-28 10:11:37 -03:00
PedroHLC ☭
e3a53e1c97
vulkan-caps-viewer: replace withX11 with x11Support to match no-x-libs 2023-05-14 09:20:31 -03:00
PedroHLC ☭
0015306203
vulkan-caps-viewer: 3.29 -> 3.30 2023-05-14 09:18:53 -03:00
PedroHLC ☭
145ce73933
vulkan-caps-viewer: 3.28 -> 3.29 2023-03-17 08:07:09 -03:00
PedroHLC ☭
41e1a672c6
vulkan-caps-viewer: add changelog and fmt 2023-01-26 07:07:06 -03:00
PedroHLC ☭
7d2325a774
vulkan-caps-viewer: 3.27 -> 3.28 2023-01-26 07:02:15 -03:00
Rick van Schijndel
9833d56c24 treewide: mark packages broken that never built on PLATFORM
Done with the help of https://github.com/Mindavi/nixpkgs-mark-broken
Tool is still WIP but this is one of the first results.

I manually audited the results and removed some results that were not valid.

Note that some of these packages maybe should have more constrained platforms set
instead of broken set, but I think not being perfectly correct is better than
just keep trying to build all these things and never succeeding.

Some observations:

- Some darwin builds require XCode tools
- aarch64-linux builds sometimes suffer from using gcc9
  - gcc9 is getting older and misses some new libraries/features
- Sometimes tools try to do system detection or expect some explicit settings for
  platforms that are not x86_64-linux
2022-12-13 21:40:12 +01:00
PedroHLC ☭
9c128026bd
vulkan-caps-viewer: 3.25 -> 3.27 2022-11-21 11:47:00 -03:00
PedroHLC ☭
04ef0da0cf
vulkan-caps-viewer: 3.24 -> 3.25 2022-09-01 15:51:23 -03:00
PedroHLC ☭
633eb5e650
vulkan-caps-viewer: add meta.mainProgram 2022-08-10 12:20:58 -03:00
PedroHLC ☭
5e268c85a0
vulkan-caps-viewer: init at 3.24 2022-08-08 15:04:17 -03:00