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
sefidel
95f4c8c5ae
lite-xl: 2.1.4 -> 2.1.5 2024-06-30 00:37:06 +09:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
R. Ryantm
0056deee0c lite-xl: 2.1.3 -> 2.1.4 2024-04-16 14:07:47 +00:00
sefidel
14d722d567
lite-xl: 2.1.1 -> 2.1.3 2024-02-09 19:06:27 +09:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
sefidel
92dc48edf5
maintainers: boppyt -> sefidel 2023-03-21 23:13:05 +09:00
R. Ryantm
2487841947 lite-xl: 2.1.0 -> 2.1.1 2023-01-02 18:18:48 +08:00
zachel
36a7a00978
lite-xl: 2.0.5 -> 2.1.0 2022-11-04 16:30:42 +09:00
Zack A
4251189327 lite-xl: 2.0.4 -> 2.0.5 2022-02-06 17:06:07 -08:00
Zack A
dbc8913baf
lite-xl: 2.0.3 -> 2.0.4 2021-12-22 12:54:42 +09:00
Zack A
53566fb3c3
lite-xl: 2.0.1 -> 2.0.3 2021-11-26 08:30:43 +09:00
Zack A
edfd0b67c3
lite-xl: init at 2.0.1
Co-authored-by: Bobby Rong <rjl931189261@126.com>
Co-authored-by: OPNA2608 <christoph.neidahl@gmail.com>
Co-authored-by: SuperSandro2000 <sandro.jaeckel@gmail.com>
Co-authored-by: Samuel Ainsworth <skainsworth@gmail.com>
2021-09-17 03:23:55 -07:00