Commit Graph

11 Commits

Author SHA1 Message Date
R. Ryantm
6304db4662 wlx-overlay-s: 0.5.0 -> 0.6 2024-10-01 19:22:27 +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
R. Ryantm
bccfcfbf77 wlx-overlay-s: 0.4.4 -> 0.5.0 2024-09-23 22:36:30 +00:00
Justinas Stankevicius
33d8eabcbe wlx-overlay-s: add required libraries 2024-08-21 17:54:52 +03:00
Sefa Eyeoglu
41908b4abb
wlx-overlay-s: format using nixfmt
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-08-12 23:04:07 +02:00
Sefa Eyeoglu
026afcd731
wlx-overlay-s: 0.4.3 -> 0.4.4
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-08-11 16:25:54 +02:00
Sefa Eyeoglu
2573e58e1e
wlx-overlay-s: 0.4.2 -> 0.4.3
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-08-04 21:40:22 +02:00
R. Ryantm
afa35b5e7a wlx-overlay-s: 0.4.1 -> 0.4.2 2024-06-23 00:22:28 +00:00
Sefa Eyeoglu
e44476e542
wlx-overlay-s: add version test and update script
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-06-09 10:40:56 +02:00
Sefa Eyeoglu
d126ed4683
wlx-overlay-s: 0.3.2 -> 0.4.1
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-06-09 10:40:56 +02:00
Sefa Eyeoglu
0ac3540c12
wlx-overlay-s: init at 0.3.2
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-03-28 23:58:53 +01:00