talks/flake.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
524 B
Nix
Raw Normal View History

2023-01-12 17:07:35 +00:00
{
2024-09-04 00:46:58 +00:00
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
2023-01-12 17:07:35 +00:00
2024-07-23 21:13:02 +00:00
outputs =
{ nixpkgs, ... }:
2024-04-21 22:07:31 +00:00
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
2023-05-06 11:23:46 +00:00
2024-04-21 22:07:31 +00:00
inherit (pkgs) mkShell nixfmt-classic;
2024-07-23 21:13:02 +00:00
in
{
2024-04-21 22:07:31 +00:00
devShells.${system}.default = mkShell {
packages = with pkgs; [
ghostscript
pdfpc
python310Packages.rst2pdf
2024-04-26 12:35:10 +00:00
texliveMedium # includes pdfjam
2024-04-21 22:07:31 +00:00
tree
];
2023-05-06 11:23:46 +00:00
};
2024-04-21 22:07:31 +00:00
formatter.${system} = nixfmt-classic;
2023-05-06 11:23:46 +00:00
};
2023-01-12 17:07:35 +00:00
}