talks/flake.nix

23 lines
561 B
Nix
Raw Normal View History

2023-01-12 17:07:35 +00:00
{
2023-05-06 11:23:46 +00:00
inputs.devshell.url = "github:numtide/devshell";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
2023-01-12 17:07:35 +00:00
2023-05-06 11:23:46 +00:00
outputs = inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [ inputs.devshell.flakeModule ];
systems = [ "x86_64-linux" ];
perSystem = { config, self', inputs', pkgs, system, ... }: {
formatter = pkgs.nixpkgs-fmt;
devshells.default = {
packages = with pkgs; [
2023-01-12 17:07:35 +00:00
just
2023-05-06 11:23:46 +00:00
python310Packages.rst2pdf
2023-01-12 17:07:35 +00:00
];
};
2023-05-06 11:23:46 +00:00
};
};
2023-01-12 17:07:35 +00:00
}