Commit Graph

7 Commits

Author SHA1 Message Date
TomaSajt
f09703e02b
pls: remove stuff already included by apple-sdk 2024-10-31 21:12:29 +01:00
Ruixi-rebirth
1226f38044
pls: 0.0.1-beta.7 -> 0.0.1-beta.8 2024-09-29 09:59:23 +08: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
TomaSajt
afcd5c6253
pls: 0.0.1-beta.6 -> 0.0.1-beta.7 2024-08-02 02:08:48 +02:00
TomaSajt
838c3b3fa0
pls: 0.0.1-beta.4 -> 0.0.1-beta.6 2024-02-07 00:10:39 +01:00
TomaSajt
f5bdd19014
pls: 0.0.1-beta.2 -> 0.0.1-beta.4 2024-01-06 13:47:09 +01:00
TomaSajt
8e65312288
pls: 5.4.0 -> 0.0.1-beta.2 2023-12-04 15:18:04 +01:00