Commit Graph

12 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
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
emattiza
260cc94772 otel-cli: 0.4.4 -> 0.4.5
see [otel-cli release notes](https://github.com/equinix-labs/otel-cli/releases/tag/v0.4.5)
2024-04-02 19:39:10 -05:00
emattiza
ad07b9ff9a otel-cli: 0.4.1 -> 0.4.4
updates otel-cli from 0.4.1 to 0.4.4
see https://github.com/equinix-labs/otel-cli/releases/tag/v0.4.4 for
changelog and release details
2024-03-12 17:27:50 -05:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
R. Ryantm
bb1e6d94a2 otel-cli: 0.4.0 -> 0.4.1 2023-11-03 03:26:28 +00:00
emattiza
cede65faa5 otel-cli: 0.3.0 -> 0.4.0
Release Notes: https://github.com/equinix-labs/otel-cli/releases/tag/v0.4.0
2023-08-09 16:26:00 -05:00
figsoda
f1ec434848 pkgs/tools/misc: remove dead code
with the help of deadnix & nil
2023-07-13 17:37:07 +03:00
emattiza
aab01f1797 update: otel-cli 0.2.0 -> 0.3.0
updates otel-cli from 0.2.0 to 0.3.0
see https://github.com/equinix-labs/otel-cli/releases/tag/v0.3.0
for changelog and release details
2023-06-26 16:16:59 -05:00
emattiza
a3a34145d3 otel-cli: 0.1.0 -> 0.2.0
Release Notes: https://github.com/equinix-labs/otel-cli/releases/tag/v0.2.0
2023-02-27 16:18:50 -06:00
emattiza
9dafc0d27e otel-cli: 0.0.20 -> 0.1.0 2023-02-02 18:27:03 -06:00
Evan Mattiza
56a9ace933
otel-cli: init at 0.0.20
Fixes #143471
Closes #143475
2022-12-19 08:21:24 +00:00