/
shell.nix
34 lines (34 loc) · 876 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
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
nativeBuildInputs = with pkgs.buildPackages;
let
unstable = import (builtins.fetchTarball https://github.com/nixos/nixpkgs/tarball/master) {};
php83 = unstable.php83.buildEnv {
extensions = ({ enabled, all }: enabled ++ (with all; [
ctype
iconv
intl
mbstring
pdo
redis
xdebug
xsl
]));
extraConfig = ''
memory_limit=8G
xdebug.mode=debug
'';
};
in
[
php83
php83.packages.composer
php83.extensions.redis
php83.extensions.xsl
php83.extensions.mbstring
symfony-cli
git
nodejs_20
nodePackages.serverless
];
}