Move all files to reading-college/demo/
This commit is contained in:
parent
9bb0b58dfd
commit
8b2fabb6b7
15 changed files with 0 additions and 0 deletions
31
reading-college/demo/flake.nix
Normal file
31
reading-college/demo/flake.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
outputs =
|
||||
{ nixpkgs, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
devShells.${system}.default =
|
||||
let
|
||||
php = pkgs.php83.buildEnv {
|
||||
extraConfig = ''
|
||||
memory_limit = 512M
|
||||
'';
|
||||
};
|
||||
phpPackages = pkgs.php83Packages;
|
||||
in
|
||||
pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
php
|
||||
phpPackages.composer
|
||||
simple-http-server
|
||||
sqlite
|
||||
];
|
||||
};
|
||||
|
||||
formatter.${system} = pkgs.nixfmt-classic;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue