Commit Graph

20 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
Pol Dellaiera
c759efa5e7
workflows/check-nix-format: enforce for php-packages 2024-05-04 23:04:36 +02:00
R. Ryantm
bcf0d4b0fc
php81Extensions.datadog_trace: 0.96.0 -> 0.97.0 2024-02-05 14:15:00 +01:00
R. Ryantm
9873e4b7a7 php81Extensions.datadog_trace: 0.95.0 -> 0.96.0 2023-12-27 11:11:46 +00:00
R. Ryantm
bfbebb4158 php81Extensions.datadog_trace: 0.94.0 -> 0.95.0 2023-12-17 17:22:08 +00:00
R. Ryantm
1b732db24b php81Extensions.datadog_trace: 0.93.1 -> 0.94.0 2023-11-27 02:40:01 +00:00
github-actions[bot]
3c43b804d4
Merge master into staging-next 2023-11-03 18:01:23 +00:00
R. Ryantm
6177ec01d3 php81Extensions.datadog_trace: 0.92.2 -> 0.93.1 2023-11-03 05:16:06 +00:00
Randy Eckenrode
c2e00b14cd
phpExtensions.datadog_trace: switch to overrideSDK
Using overrideSDK allows datadog_trace to use the correct SDK frameworks
even when they are propagated from curl.
2023-10-26 13:26:39 -04:00
R. Ryantm
5e01915ea9 php81Extensions.datadog_trace: 0.89.0 -> 0.92.2 2023-10-12 10:17:07 +00:00
Pol Dellaiera
9c0cf2eacf
phpExtensions.ddtrace: fix pname
The issue has been introduced in https://github.com/NixOS/nixpkgs/pull/242166
2023-08-16 17:44:02 +02:00
Pol Dellaiera
676380cddb
phpExtensions.datadog_trace: fix builds on Linux 2023-07-12 17:01:58 +02:00
Pol Dellaiera
020b80bf26 phpExtensions.datadog_trace: prevent buildPecl to always use the same version of PHP 2023-07-10 17:03:11 +02:00
Pol Dellaiera
c8bb2d35d9 phpExtensions.datadog_trace: 0.82.0 -> 0.89.0 2023-07-10 14:08:36 +02:00
iliana etaoin
c711b865c9 php.extensions.datadog_trace: correct license metadata
https://github.com/DataDog/dd-trace-php/blob/0.82.0/LICENSE
2023-06-28 03:18:27 +00:00
Thomas Gerbet
77031e5309 php80Extensions.datadog_trace: 0.70.0 -> 0.82.0
Fixes the build with PHP 8.2 and 8.0

https://github.com/DataDog/dd-trace-php/releases/tag/0.82.0
https://github.com/DataDog/dd-trace-php/releases/tag/0.81.1
https://github.com/DataDog/dd-trace-php/releases/tag/0.81.0
https://github.com/DataDog/dd-trace-php/releases/tag/0.80.0
https://github.com/DataDog/dd-trace-php/releases/tag/0.79.0
https://github.com/DataDog/dd-trace-php/releases/tag/0.78.0
2023-01-08 20:49:35 +01:00
Elis Hirwing
566793db55
Merge pull request #198037 from SuperSandro2000/php-cleanup
phpExtensions: little cleanup
2022-11-21 08:25:31 +01:00
Pol Dellaiera
1812d1540e
php82: init at 8.2.0rc6 2022-11-16 18:57:26 +01:00
Sandro Jäckel
355a7527cc
phpExtensions.datadog_trace: cleanup 2022-10-27 11:38:27 +02:00
shayne
72c95f2878
php.extensions.datadog_trace: init at 0.70.0 2022-03-01 11:40:47 -05:00