Commit Graph

23 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
f11771fb39 mdbook-admonish: 1.17.1 -> 1.18.0 2024-06-20 16:09:51 +00:00
R. Ryantm
58f15f1373 mdbook-admonish: 1.17.0 -> 1.17.1 2024-06-12 01:57:25 +00: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
8d775b86e6 mdbook-admonish: 1.16.0 -> 1.17.0 2024-05-25 23:59:54 +00:00
R. Ryantm
cfccb20de8 mdbook-admonish: 1.15.0 -> 1.16.0 2024-05-20 01:39:45 +00:00
Matthias Beyer
e0dac95d02
mdbook-admonish: Add myself as maintainer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2024-04-17 20:58:30 +02:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
R. Ryantm
4ab598b846 mdbook-admonish: 1.14.0 -> 1.15.0 2023-12-31 14:33:41 +00:00
R. Ryantm
e5de46f653 mdbook-admonish: 1.13.1 -> 1.14.0 2023-12-16 16:39:36 +00:00
R. Ryantm
c6d4050dd5 mdbook-admonish: 1.13.0 -> 1.13.1 2023-11-04 09:01:46 -07:00
R. Ryantm
590f4e95cb mdbook-admonish: 1.12.1 -> 1.13.0 2023-10-11 04:03:03 +00:00
R. Ryantm
588430cf83 mdbook-admonish: 1.11.1 -> 1.12.1 2023-09-25 03:40:43 +00:00
R. Ryantm
edbb4618bb mdbook-admonish: 1.10.2 -> 1.11.1 2023-09-12 07:16:36 +00:00
R. Ryantm
f082a11226 mdbook-admonish: 1.10.1 -> 1.10.2 2023-08-15 17:41:55 +00:00
R. Ryantm
00dd0eb6d6 mdbook-admonish: 1.9.0 -> 1.10.1 2023-08-07 01:11:24 +00:00
R. Ryantm
a7f1ae46ac mdbook-admonish: 1.8.0 -> 1.9.0 2023-04-26 02:04:09 +00:00
Sergei Lukianov
955bbec005 mdbook-admonish: remove unused fetchpatch from inputs 2023-01-04 09:36:52 -08:00
Sergey Lukjanov
d060289fae mdbook-admonish: add Frostman to maintainers 2022-12-07 23:58:04 -08:00
Sergey Lukjanov
b43f5f88dc mdbook-admonish: 1.7.0 -> 1.8.0 2022-12-07 23:57:34 -08:00
Theodore Ni
f88a75731c
mdbook-admonish: patch to work with rust 1.64 2022-10-05 09:20:06 -07:00
R. Ryantm
cf0fad125c mdbook-admonish: 1.6.0 -> 1.7.0 2022-07-28 23:36:04 +00:00
Joshua Gilman
23be58ef4c
mdbook-admonish: init at 1.6.0
fix: removes trailing period in package description

mdbook-admonish: init at 1.6.0
2022-06-06 07:01:56 -07:00