Commit Graph

16 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
Doron Behar
ef845dd609 micropad: reformat using yarn{Config,Build}Hooks 2024-07-10 09:39:07 +03:00
h7x4
8121f3559a
treewide: add mainProgram 2024-02-11 03:19:15 +01:00
R. Ryantm
5a5d3a22af micropad: 4.4.0 -> 4.5.1 2024-01-01 21:15:12 +00:00
Rhys Davies
f88df59f95
micropad: 4.3.0 -> 4.4.0 2023-10-25 14:07:45 +13:00
Rhys Davies
31ef388774 micropad: 4.2.1 -> 4.3.0 2023-09-07 16:00:06 +12:00
Rhys Davies
f4450f90f4 micropad: use fetchYarnDeps 2023-09-07 15:59:04 +12:00
Rhys Davies
5e30b82dab
micropad: 4.2.0 -> 4.2.1 2023-03-19 13:33:07 +13:00
R. Ryantm
3ddb7c1a19 micropad: 4.1.0 -> 4.2.0 2022-11-05 16:30:02 +08:00
R. Ryantm
81674fb565 micropad: 4.0.0 -> 4.1.0 2022-10-20 08:55:00 +08:00
Paul Grandperrin
aeaeca819d NIXOS_OZONE_WL: fix wayland window decorations 2022-09-28 15:56:55 +02:00
Rhys Davies
4b048a08c3
micropad: 3.30.6 -> 4.0.0 2022-09-21 13:53:41 +12:00
Rhys Davies
54f5655931
micropad: Add updateScript 2022-09-21 13:53:30 +12:00
Kira Bruneau
263b0365db micropad: remove special case for electron on darwin 2022-08-09 18:36:14 -04:00
Sumner Evans
093a003639
yarn2nix: allow setting doDist by calling packages 2022-05-31 09:52:09 -06:00
Rhys Davies
6d6dfc8fdf
micropad: init at 3.30.6 2022-03-21 08:03:14 +13:00