Curriculum-Vitae/flake.nix

26 lines
548 B
Nix
Raw Normal View History

2024-06-19 17:04:45 +07:00
{
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, utils, ... }:
utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in
{
devShells.default = pkgs.mkShell {
buildInputs = [
pkgs.typst
pkgs.typstyle
pkgs.typst-live
];
shellHook = ''
echo `${pkgs.typst}/bin/typst --version`
'';
};
});
}