asciidoctor-foodogsquared-e.../flake.nix

25 lines
684 B
Nix
Raw Normal View History

2023-07-07 04:11:42 +00:00
{
description = "Basic flake template for setting up development shells";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
ruby-nix.url = "github:sagittaros/ruby-nix";
ruby-nix.inputs.nixpkgs.follows = "nixpkgs";
2023-07-07 04:11:42 +00:00
};
outputs = inputs@{ self, ruby-nix, nixpkgs, ... }:
2023-07-07 04:11:42 +00:00
let systems = inputs.flake-utils.lib.defaultSystems;
in inputs.flake-utils.lib.eachSystem systems (system:
let
pkgs = import nixpkgs { inherit system; };
in
{
devShells.default =
import ./shell.nix { inherit pkgs ruby-nix; };
2023-07-07 04:11:42 +00:00
formatter = pkgs.treefmt;
});
}