30 lines
723 B
Nix
30 lines
723 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOs/nixpkgs/nixos-unstable";
|
|
utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, utils }:
|
|
utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in {
|
|
devShells.default = pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
php
|
|
phpPackages.composer
|
|
phpPackages.php-codesniffer
|
|
vscode-langservers-extracted
|
|
nodejs
|
|
nixfmt-rfc-style
|
|
nixfmt-tree
|
|
cypress
|
|
yaml-language-server
|
|
typescript
|
|
postgresql
|
|
process-compose
|
|
];
|
|
};
|
|
}
|
|
);
|
|
}
|