Add basic Nix flake
This commit is contained in:
parent
f3eb2af16b
commit
a8c9c7217b
3 changed files with 53 additions and 0 deletions
25
drupal-cms/flake.nix
Normal file
25
drupal-cms/flake.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||
};
|
||||
|
||||
outputs =
|
||||
inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = import inputs.nixpkgs { inherit system; };
|
||||
in
|
||||
{
|
||||
devShells.${system}.default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
(php.buildEnv {
|
||||
extraConfig = ''
|
||||
memory_limit = 512M
|
||||
'';
|
||||
})
|
||||
|
||||
sqlite
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue