nix-templates/devshell/flake.nix

24 lines
509 B
Nix
Raw Normal View History

2022-05-26 23:43:22 +01:00
{
description = "A basic flake from samw";
inputs = {
utils.url = "github:numtide/flake-utils";
devshell.url = "github:numtide/devshell";
};
2022-06-19 15:20:35 +01:00
outputs = {
self,
nixpkgs,
utils,
devshell,
}:
utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {
inherit system;
2022-05-26 23:43:22 +01:00
2023-02-28 17:12:42 +00:00
overlays = [devshell.overlays.default];
};
in {
devShells.default = pkgs.devshell.mkShell {packages = with pkgs; [];};
formatter = pkgs.alejandra;
2022-05-26 23:43:22 +01:00
});
}