-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathshell.nix
37 lines (37 loc) · 918 Bytes
/
shell.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
nativeBuildInputs = with pkgs.buildPackages;
let
php82 = pkgs.php82.buildEnv {
extensions = ({ enabled, all }: enabled ++ (with all; [
ctype
iconv
intl
mbstring
pdo
redis
xdebug
xsl
]));
extraConfig = ''
memory_limit=8G
post_max_size=200M
upload_max_filesize=200M
date.timezone=Europe/Prague
phar.readonly=Off
xdebug.mode=debug
'';
};
in
[
php82
php82.packages.composer
php82.extensions.redis
php82.extensions.xsl
php82.extensions.mbstring
symfony-cli
git
nodejs_18
nodePackages.serverless
];
}