Commit Graph

18 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
Andrew Warren-Love
c89e846875
phpExtensions.swoole: 5.0.3 -> 5.1.2 2024-02-08 09:32:29 +01:00
R. Ryantm
741eb276a8 php80Extensions.swoole: 5.0.1 -> 5.0.3 2023-04-28 19:13:00 +00:00
Pol Dellaiera
0ded0f9be1
php.extensions.swoole: update src attribute
So it can be automatically updated with `nix-update`
2022-12-29 18:21:57 +01:00
Elis Hirwing
9c24dbf8b2
php.extensions.swoole: 4.8.11 -> 5.0.1 2022-11-12 12:40:52 +01:00
R. Ryantm
6f62954e1c php80Extensions.swoole: 4.8.8 -> 4.8.11 2022-08-01 06:27:15 +00:00
Pol Dellaiera
47c4c68fdf
php: Remove fixes for abandoned PHP versions 2022-05-15 19:17:31 +02:00
R. Ryantm
0a5b57f7ec php74Extensions.swoole: 4.8.7 -> 4.8.8 2022-03-18 22:08:26 +00:00
R. Ryantm
b9c1df1c6a php74Extensions.swoole: 4.8.6 -> 4.8.7 2022-03-02 02:57:26 +00:00
R. Ryantm
466cc46190 php74Extensions.swoole: 4.8.5 -> 4.8.6 2022-02-13 05:33:15 +00:00
R. Ryantm
89b1a50a9c php74Extensions.swoole: 4.8.4 -> 4.8.5 2022-01-02 03:11:11 +00:00
R. Ryantm
e0329cf0e1 php74Extensions.swoole: 4.8.3 -> 4.8.4 2021-12-25 10:23:46 +00:00
R. Ryantm
a93106d0d2 php74Extensions.swoole: 4.6.7 -> 4.8.3 2021-12-08 09:16:04 +00:00
Tristan Pemble
4d84ca88ce Fix Swoole PHP extension on Darwin by marking Valgrind as an optional dependency 2021-08-17 14:54:10 -07:00
Elis Hirwing
2fc9594844
php.extensions.swoole: 4.6.4 -> 4.6.7 2021-06-10 09:20:35 +02:00
Elis Hirwing
68eb5305ac
php: Drop PHP 7.3 support
PHP 7.3 won't be supported by upstream for the entire life cycle of
the 21.11 release.

Also drop the pcre' alias since it isn't needed anymore since we don't
need different pcre versions anymore.
2021-06-04 09:26:54 +02:00
Elis Hirwing
7b44695658
php.extensions.swoole: init at 4.6.4 2021-03-11 18:17:45 +01:00