Initial commit
This commit is contained in:
commit
ff12acde1c
3 changed files with 49 additions and 0 deletions
21
flake.nix
Normal file
21
flake.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
|
||||
outputs =
|
||||
{ nixpkgs, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
|
||||
php = pkgs.php83;
|
||||
phpPackages = pkgs.php83Packages;
|
||||
in
|
||||
{
|
||||
devShells.${system}.default = pkgs.mkShellNoCC {
|
||||
packages = [
|
||||
php
|
||||
phpPackages.composer
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue