Commit Graph

13 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
Ryan Omasta
0806743b97
picocrypt: 1.42 -> 1.43 2024-09-12 10:58:08 -06:00
Ryan Omasta
eb3833bf2c
picocrypt: 1.41 -> 1.42 2024-09-03 20:10:25 -06:00
R. Ryantm
34246768cf picocrypt: 1.40 -> 1.41 2024-08-31 01:58:15 +00:00
Ryan Omasta
0fbd43f258
picocrypt: 1.39 -> 1.40 2024-08-11 02:26:34 -06:00
Ryan Omasta
75a10ed301
picocrypt: 1.38 -> 1.39 2024-08-07 14:47:08 -06:00
R. Ryantm
443272bf40 picocrypt: 1.37 -> 1.38 2024-08-05 14:45:31 +00:00
Sigmanificient
61fe0c0416 pkgs/by-name: remove unused arguments 2024-07-26 10:11:07 +02:00
Ryan Omasta
109d3f0428
picocrypt: 1.35 -> 1.37 2024-07-08 23:51:13 -06:00
github-actions[bot]
30cfd4445f
Merge master into staging-next 2024-07-05 00:02:21 +00:00
R. Ryantm
2facc932f7 picocrypt: 1.34 -> 1.35 2024-07-04 14:51:36 +00:00
Emily
a5b1dedb48 picocrypt: fix evaluation on Darwin
This was referencing `libGL.dev`, which no longer exists on
Darwin. Since most of these dependencies are just for its vendored
GLFW, and most of them weren’t even needed on Darwin anyway, copy
the build inputs from our GLFW package instead.
2024-07-04 15:43:58 +01:00
Ryan Omasta
ead4ee2f6f
picocrypt: init at 1.34 2024-07-03 03:37:39 -06:00