!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

75 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
7 Jul 2023
@jtojnar:matrix.orgJan Tojnar just relying on meta.platforms instead of removing it 19:46:39
@jtojnar:matrix.orgJan TojnarI still do not think trying to build PHP with all packages is meaningful except for special cases like you are doing, and in those cases you can just filter the extensions explicitly19:47:53
@drupol:matrix.orgPolI'll push a PR to fix it tonight then19:53:02
@drupol:matrix.orgPolPR created: https://github.com/NixOS/nixpkgs/pull/24213421:03:29
@drupol:matrix.orgPolAnd another one to keep an eye on: https://github.com/NixOS/nixpkgs/pull/24206821:15:37
9 Jul 2023
@drupol:matrix.orgPol People runnning x86_64-darwin, do you have a clue about this PHP mongodb extension build issue ? https://logs.ofborg.org/?key=nixos/nixpkgs.242366&attempt_id=7db3b046-741f-4d2a-bc57-d872ada50641 (related PR: https://github.com/NixOS/nixpkgs/pull/242366) 09:05:36
@tgerbet:matrix.orgtgerbet Try to add Security (from darwin.apple_sdk.frameworks) to the buildInputs 09:43:13
@drupol:matrix.orgPolIt's already there :S09:43:30
@drupol:matrix.orgPolGoing to open upstream I think09:43:39
@tgerbet:matrix.orgtgerbetHum indeed09:44:09
@tgerbet:matrix.orgtgerbetTry to also add CoreFoundation it is the other usual suspect09:44:44
@drupol:matrix.orgPolOki trying.09:45:36
@drupol:matrix.orgPolIssue created: https://jira.mongodb.org/browse/PHPC-225709:51:40
@drupol:matrix.orgPol Now trying with CoreFoundation 09:51:47
@drupol:matrix.orgPolSame stuff.10:03:16
@jtojnar:matrix.orgJan Tojnar Pol: that might be that our builders have outdated apple core library shims or something like that 19:18:29
@jtojnar:matrix.orgJan Tojnar * Pol: that might be Nixpkgs has outdated apple core library shims or something like that 19:18:44
@drupol:matrix.orgPolThere's a very interesting discussion in macos nixos channel ! You might be interested19:18:54
@drupol:matrix.orgPolhttps://matrix.to/#/#macos:nixos.org19:19:01
@drupol:matrix.orgPolI've been told to do:19:19:08
@drupol:matrix.orgPol datadog_trace = pkgs.darwin.apple_sdk_11_0.callPackage ../development/php-packages/datadog_trace { };19:19:19
@jtojnar:matrix.orgJan Tojnaroh, right sdk version, was the thing19:20:58
@drupol:matrix.orgPolI'm testing plenty of different things on the PR19:21:27
@drupol:matrix.orgPolThey are helping a lot, it's very welcome !19:21:38
@drupol:matrix.orgPol Jan Tojnar: Can you have a look at this PR? https://github.com/NixOS/nixpkgs/pull/242166/files I guess I didn't do that in the best way. 20:07:33
@jtojnar:matrix.orgJan Tojnar Pol: yeah, that’s the reason I prefer setup hooks + stdenv.mkDerivation over buildFoo – the latter just does not compose, leading to ugly stuff like this 21:07:19
@drupol:matrix.orgPolYeah it's ugly :(21:13:29
@drupol:matrix.orgPolWhat should we do?21:16:38
10 Jul 2023
@drupol:matrix.orgPol Jan Tojnar: Issue has been fixed! https://github.com/NixOS/nixpkgs/pull/242166 and https://github.com/NixOS/nixpkgs/pull/242366 12:17:33
@drupol:matrix.orgPolI have a question for you people.14:18:49

Show newer messages


Back to Room ListRoom Version: 6