mirror of
https://github.com/opdavies/build-configs.git
synced 2025-09-18 23:50:47 +01:00
build: add flake.nix
This commit is contained in:
parent
eb29d11134
commit
142b95902d
2 changed files with 63 additions and 0 deletions
20
flake.nix
Normal file
20
flake.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/master";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils }:
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
devShell = with pkgs; pkgs.mkShell {
|
||||
buildInputs = [
|
||||
just
|
||||
php
|
||||
];
|
||||
};
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue