frankenphp: remove no longer needed homebrew substitute

This commit is contained in:
Piotr Kwiecinski
2026-02-03 15:36:02 +01:00
parent aba0461602
commit 6c7cbd8a3c
+1 -5
View File
@@ -60,6 +60,7 @@ buildGoModule rec {
pkg-config
cctools
darwin.autoSignDarwinBinariesHook
libiconv
];
subPackages = [ "frankenphp" ];
@@ -87,11 +88,6 @@ buildGoModule rec {
export CGO_LDFLAGS="-DFRANKENPHP_VERSION=${version} \
$(${phpConfig} --ldflags) \
$(${phpConfig} --libs)"
''
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
# replace hard-code homebrew path
substituteInPlace ../frankenphp.go \
--replace "-L/opt/homebrew/opt/libiconv/lib" "-L${libiconv}/lib"
'';
preFixup = ''