nix-for-php-developers/book/flake.nix
2025-08-15 03:11:02 +01:00

29 lines
607 B
Nix

{
inputs = {
devshell.inputs.nixpkgs.follows = "nixpkgs";
devshell.url = "github:numtide/devshell";
flake-parts.url = "github:hercules-ci/flake-parts";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs =
inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
imports = [ inputs.devshell.flakeModule ];
perSystem =
{ pkgs, ... }:
{
devshells.default = {
packages = with pkgs.nodePackages; [
browser-sync
];
};
};
systems = [ "x86_64-linux" ];
};
}