typst/flake.nix

27 lines
518 B
Nix
Raw Normal View History

{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
outputs =
{ nixpkgs, ... }:
{
/*
This example assumes your system is x86_64-linux
change as neccesary
*/
devShells.x86_64-linux =
let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
in
{
default = pkgs.mkShell {
packages = [
pkgs.typst
pkgs.typstyle
pkgs.tinymist
];
};
};
};
}