Commit Graph

29 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
30b614d5d2 frankenphp: 1.2.4 -> 1.2.5 2024-08-28 00:56:55 +00:00
R. Ryantm
36ea39511b frankenphp: 1.2.3 -> 1.2.4 2024-08-14 09:37:09 +00:00
R. Ryantm
c9cb130209 frankenphp: 1.2.2 -> 1.2.3 2024-08-07 03:32:27 +00:00
Randy Eckenrode
f9b7f4ec09
tree-wide: use top-level cctools 2024-07-17 22:36:19 -04:00
R. Ryantm
dbefca3191 frankenphp: 1.2.1 -> 1.2.2 2024-07-13 06:50:38 +00:00
R. Ryantm
47eed92d68 frankenphp: 1.2.0 -> 1.2.1 2024-06-25 13:40:34 +00: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
Pol Dellaiera
8c39346c75
frankenphp: 1.1.5 -> 1.2.0
diff: https://github.com/dunglas/frankenphp/compare/v1.1.5..v1.2.0
changelog: https://github.com/dunglas/frankenphp/releases/tag/v1.2.0
2024-06-06 12:23:44 +02:00
R. Ryantm
f96fef87c3 frankenphp: 1.1.4 -> 1.1.5 2024-05-14 12:58:56 +00:00
toonn
84df02abdb
Merge pull request #301354 from reckenrode/libiconv-switch-mk2
darwin.libiconv: 50 -> 99 and move to pkgs/by-name
2024-04-28 23:21:37 +02:00
Randy Eckenrode
e7b5b44f9d
darwin.libiconv: remove and add to darwin-aliases 2024-04-27 18:09:53 -04:00
R. Ryantm
d3222f864a frankenphp: 1.1.2 -> 1.1.4 2024-04-26 00:55:50 +00:00
Randy Eckenrode
a426aa3a3f
Revert "darwin.libiconv: remove and add to darwin-aliases"
This reverts commit 521ea079b9.
2024-03-31 09:57:54 -04:00
Randy Eckenrode
521ea079b9
darwin.libiconv: remove and add to darwin-aliases 2024-03-27 17:34:51 -04:00
Gaël Reyrol
60a3c785bd
frankenphp: 1.1.0 -> 1.1.2 (#297649) 2024-03-25 13:31:10 +01:00
Yueh-Shun Li
91b3db1309 treewide: fix sourceRoot for fetchgit-based src
According to Nixpkgs manual[1] and NixOS 23.11 Release Note[2], the
`sourceRoot` attribute passed to `stdenv.mkDerivation` should be
specified as `"${src.name}"` or `"${src.name}/subdir"` when `src` is
produced using `fetchgit`-based fetchers.

`sourceRoot = "source"` or `sourceRoot = "source/subdir"` is based on
the assumption that the `name` attribute of these pre-unpacked fetchers
are always `"source"`, which is not the case. Expecting constant `name`
also makes the source FODs prone to irrelevent hashes during version
bumps.

[1]: https://nixos.org/manual/nixpkgs/unstable/#var-stdenv-sourceRoot
[2]: https://nixos.org/manual/nixos/stable/release-notes#sec-release-23.11
2024-03-09 07:53:25 +08:00
Gaël Reyrol
4e4292d349
frankenphp: 1.0.3 -> 1.1.0 2024-02-05 09:55:46 +01:00
Gaël Reyrol
7361b1bf9d
frankenphp: 1.0.2 -> 1.0.3
Diff: https://github.com/dunglas/frankenphp/compare/v1.0.2...v1.0.3

Changelog: https://github.com/dunglas/frankenphp/releases/tag/v1.0.3
2024-01-06 14:51:13 +01:00
Gaël Reyrol
afbd598e18
frankenphp: 1.0.1 -> 1.0.2
Diff: https://github.com/dunglas/frankenphp/compare/v1.0.1...v1.0.2

Changelog: https://github.com/dunglas/frankenphp/releases/tag/v1.0.2
2023-12-25 22:24:11 +01:00
Pol Dellaiera
a9da775068
Merge pull request #274430 from shyim/frankenphp-fix-colision
frankenphp: fix collision with php package
2023-12-20 18:10:00 +01:00
R. Ryantm
68a8f62ad3 frankenphp: 1.0.0 -> 1.0.1 2023-12-19 06:40:53 +00:00
Soner Sayakci
a3520e38bb
frankenphp: fix collision with php package 2023-12-15 12:18:30 +01:00
Soner Sayakci
6cf771c181
frankenphp: fix loading php extensions and custom config 2023-12-11 00:04:01 +01:00
Pol Dellaiera
3ca8becb81
frankenphp: 1.0.0-rc.4 -> 1.0.0 2023-12-07 21:18:33 +01:00
Soner Sayakci
64a56afce4
frankenphp: add shyim as maintainer 2023-12-05 16:14:03 +01:00
Soner Sayakci
21e686eaec
frankenphp: add darwin support 2023-12-03 16:38:30 +01:00
Pol Dellaiera
ae7f90f1b6
frankenphp: 1.0.0-rc.3 -> 1.0.0-rc.4 2023-12-01 18:37:08 +01:00
Gaël Reyrol
ee3810a1c9
frankenphp: init at 1.0.0-rc3 2023-11-27 09:33:07 +01:00