32 lines
662 B
Nix
32 lines
662 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; } {
|
||
|
systems = [ "x86_64-linux" ];
|
||
|
|
||
|
imports = [ inputs.devshell.flakeModule ];
|
||
|
|
||
|
perSystem =
|
||
|
{ pkgs, ... }:
|
||
|
{
|
||
|
devshells.default = {
|
||
|
packages = with pkgs; [
|
||
|
go
|
||
|
php
|
||
|
phpPackages.composer
|
||
|
tailwindcss
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|