nix: update flake
This commit is contained in:
parent
b746c3ead1
commit
ad4ddc6300
3 changed files with 635 additions and 21 deletions
20
shell.nix
20
shell.nix
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue