nix: update flake

This commit is contained in:
Matthew Penner 2023-02-23 11:22:34 -07:00
parent b746c3ead1
commit ad4ddc6300
No known key found for this signature in database
3 changed files with 635 additions and 21 deletions

View file

@ -1,17 +1,15 @@
{pkgs ? import <nixpkgs> {}}:
{
composer ? null,
php81WithExtensions ? null,
pkgs ? import <nixpkgs> {},
}:
with pkgs;
mkShell rec {
buildInputs = [
alejandra
(php81.buildEnv {
extensions = ({ enabled, all }: enabled ++ (with all; [
redis
xdebug
]));
extraConfig = ''
xdebug.mode=debug
'';
})
php81Packages.composer
composer
nodejs-18_x
nodePackages.yarn
php81WithExtensions
];
}