Commit Graph

9 Commits

Author SHA1 Message Date
R. Ryantm
d9716a1f59 wthrr: 1.2.0 -> 1.2.1 2024-10-04 18:32:05 +00: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
Weijia Wang
3e2a9088e8 wthrr: add missing darwin framework 2024-07-02 23:57:26 +02:00
R. Ryantm
6e3bb229a2 wthrr: 1.1.1 -> 1.2.0 2024-07-02 23:55:13 +02:00
h7x4
8121f3559a
treewide: add mainProgram 2024-02-11 03:19:15 +01:00
figsoda
a8db59d6b1 wthrr: 1.1.0 -> 1.1.1
Diff: https://github.com/tobealive/wthrr-the-weathercrab/compare/v1.1.0...v1.1.1

Changelog: https://github.com/tobealive/wthrr-the-weathercrab/releases/tag/v1.1.1
2023-05-07 14:45:12 -04:00
figsoda
5ddc83c477 wthrr: 1.0.2 -> 1.1.0
Diff: https://github.com/tobealive/wthrr-the-weathercrab/compare/v1.0.2...v1.1.0

Changelog: https://github.com/tobealive/wthrr-the-weathercrab/releases/tag/v1.1.0
2023-05-07 11:39:41 -04:00
figsoda
700968b730 wthrr: 1.0.1 -> 1.0.2
Diff: https://github.com/tobealive/wthrr-the-weathercrab/compare/v1.0.1...v1.0.2

Changelog: https://github.com/tobealive/wthrr-the-weathercrab/releases/tag/v1.0.2
2023-04-29 15:14:27 -04:00
figsoda
781543392b wthrr: init at 1.0.1 2023-04-16 20:20:37 -04:00