Commit Graph

9 Commits

Author SHA1 Message Date
R. Ryantm
a9bfaea04a mdbook-alerts: 0.6.6 -> 0.6.7 2024-10-06 16:39:34 +00:00
R. Ryantm
429fcf3331 mdbook-alerts: 0.6.5 -> 0.6.6 2024-09-29 01:51:59 +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
d31416e794 mdbook-alerts: 0.6.4 -> 0.6.5 2024-09-18 13:26:13 +00:00
R. Ryantm
68a8df19a0 mdbook-alerts: 0.6.3 -> 0.6.4 2024-08-27 13:16:48 +00:00
R. Ryantm
3d4e992893 mdbook-alerts: 0.6.2 -> 0.6.3 2024-08-16 12:12:02 +00:00
R. Ryantm
94348336c5 mdbook-alerts: 0.6.1 -> 0.6.2 2024-08-09 23:44:31 +00:00
R. Ryantm
555696489e mdbook-alerts: 0.6.0 -> 0.6.1 2024-07-29 22:35:01 +00:00
Brian McGillion
9bca10c721
mdbook-alerts: init at 0.6.0
Add mdbook-alerts a pre-processor for mdbook to support the inclusion of
Markdown alerts.

https://github.com/lambdalisue/rs-mdbook-alerts

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
2024-07-25 09:10:07 +04:00