Hello, first time user of NixOS, long time user of Gentoo/Arch.
I wanted to see if I could use nixos for my workstation, but I am struggling getting the extension pdo_firebird/interbase included into PHP (which we use at my work place).
I tried the following:
php -d extension=pdo_firebird
(no dynamic library in nixos, and there is no packages for it, AFAIK).
I tried also the same with a statically built one on my old arch system, but it depends on a shared library (libfbclient.so.2).
(I also did the same in phpfpm by adding the phpOptions in configuration.nix, but I guess the above is why I don’t see any pdo_firebird loaded in phpinfo)
I know that firebird is not an easy PDO, and I also build it manually on Arch Linux to be sure it works correctly in PHP7, but I have no options here as I cannot copy the shared libraries to /usr/lib (I know, it’s tainted ;).
as an update:
I got phpize by using php74.unwrapped.dev instead of php, so that’s a start, and I see that libfbclient.so comes out of the firebird package.
I’ll try to see if I can make a build, and maybe I’ll even learn to make a package in the process