Closed danwdart closed 3 years ago
You need to edit the default.nix and pass a php that has the extension enabled, e.g.
{ pkgs ? import <nixpkgs> { inherit system; }, system ? builtins.currentSystem
, noDev ? false }:
let
composerEnv = import ./composer-env.nix rec {
inherit (pkgs) stdenv writeTextFile fetchurl unzip;
php =
pkgs.php.withExtensions ({ enabled, all }: enabled ++ [ all.mailparse ]);
phpPackages = php.packages;
};
in import ./php-packages.nix {
inherit composerEnv noDev;
inherit (pkgs) fetchurl fetchgit fetchhg fetchsvn;
}
Not ideal to edit generated files :(
Thanks! Maybe such things can be integrated into the generator.
Hey, how can add/enable extensions to the CLI setup, e.g. xdebug?
Thanks