Skip to content

Commit

Permalink
Update build configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
opdavies committed Jul 17, 2024
1 parent e5892e1 commit bf5f925
Showing 1 changed file with 12 additions and 18 deletions.
30 changes: 12 additions & 18 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,25 +1,19 @@
# Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs.

{
inputs = {
devshell.url = "github:numtide/devshell";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
description = "A Nix Flake for build-configs";

inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";

outputs = inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [ inputs.devshell.flakeModule ];
outputs = { nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};

systems = [ "x86_64-linux" ];
inherit (pkgs) mkShell;
in {
devShells.${system}.default =
mkShell { buildInputs = with pkgs; [ just php82 php82Packages.composer ]; };

perSystem = { config, self', inputs', pkgs, system, ... }: {
devshells.default = {
packages = with pkgs; [
"just"
"php82"
"php82Packages.composer"
];
};
};
formatter.${system} = pkgs.nixfmt;
};
}

0 comments on commit bf5f925

Please sign in to comment.