nix: add flake with dev shell
This commit is contained in:
parent
e49ba65709
commit
d31ece1c75
5 changed files with 90 additions and 5 deletions
17
shell.nix
Normal file
17
shell.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{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
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue