Commit Graph

7 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
Aleksana
2591b261a3
opentelemetry-cpp: fix CMake target include dirs (#328851) 2024-09-04 11:28:34 +08:00
R. Ryantm
5b0fbacf67 opentelemetry-cpp: 1.16.0 -> 1.16.1 2024-07-24 10:20:00 +00:00
Tobias Mayer
2b99603e31
opentelemetry-cpp: fix CMake target include dirs 2024-07-21 09:44:06 +02:00
Nicolas Benes
da3465f7f5 opentelemetry-cpp: 1.13.0 -> 1.16.0
https://github.com/open-telemetry/opentelemetry-cpp/releases/tag/v1.14.0
https://github.com/open-telemetry/opentelemetry-cpp/releases/tag/v1.14.1
https://github.com/open-telemetry/opentelemetry-cpp/releases/tag/v1.14.2
https://github.com/open-telemetry/opentelemetry-cpp/releases/tag/v1.15.0
https://github.com/open-telemetry/opentelemetry-cpp/releases/tag/v1.16.0
2024-07-18 08:44:59 +02:00
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
Jean-François Roche
6af690aaf1 opentelemetry-cpp: init at 1.13.0
Build with support for:

- in memory
- otlp http
- otlp grpc
- zipkin
- prometheus
- elasticsearch

Co-authored-by: tobim <tobim+github@fastmail.fm>
Co-authored-by: Nicolas Benes <nbenes.gh@xandea.de>
2024-01-21 22:06:48 +01:00