Commit Graph

19 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
R. Ryantm
7c35796300 _64gram: 1.1.34 -> 1.1.39 2024-09-15 04:14:25 +00:00
DDoSolitary
f6f5249ab3 _64gram: 1.1.31 -> 1.1.34 and disable self update 2024-08-18 23:56:51 +08:00
R. Ryantm
efbc08184c _64gram: 1.1.30 -> 1.1.31 2024-07-18 02:04:57 +00:00
R. Ryantm
cc767cb51c _64gram: 1.1.29 -> 1.1.30 2024-07-06 11:00:42 +00:00
R. Ryantm
16619820ba _64gram: 1.1.27 -> 1.1.29 2024-06-16 18:13:28 +00:00
Weijia Wang
5a4b363a8c
Merge pull request #318284 from r-ryantm/auto-update/_64gram
_64gram: 1.1.24 -> 1.1.27
2024-06-10 17:01:40 +02: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
4b12b091ce _64gram: 1.1.24 -> 1.1.27 2024-06-08 13:39:21 +00:00
R. Ryantm
3ece6d64fe _64gram: 1.1.23 -> 1.1.24 2024-06-01 06:38:32 +00:00
R. Ryantm
208c33fa1c _64gram: 1.1.22 -> 1.1.23 2024-05-26 21:38:11 +00:00
R. Ryantm
9c8328d342 _64gram: 1.1.19 -> 1.1.22 2024-05-08 11:11:22 +00:00
Aditya
7b965f5400 _64gram: 1.1.18 -> 1.1.19 2024-04-20 23:01:29 +05:30
Aditya
d8f0948ff1 _64gram: 1.1.17 -> 1.1.18 2024-04-19 17:10:26 +05:30
Aditya
5deb1d364e _64gram: add nix-update-script 2024-04-10 18:55:12 +05:30
Aditya
85aed69b47 _64gram: 1.1.16 -> 1.1.17 2024-04-10 15:22:23 +05:30
Aditya
fbe97da910 _64gram: 1.1.15 -> 1.1.16 2024-04-04 16:18:34 +05:30
aleksana
1484678e2f _64gram: fix uppercase letter in pname
pname should not contain uppercase letters, see https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#package-naming
2024-04-03 23:51:35 +08:00
Aditya
7257398f82 _64gram: init at 1.1.15 2024-04-02 16:29:37 +05:30