Files
TMA4135/flake.nix
2025-09-11 18:00:03 +02:00

30 lines
600 B
Nix

{
description = "typst for a better world";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs =
{ self, nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
in
{
devShells.${system}.default = pkgs.mkShell {
buildInputs = with pkgs; [
typst
typstyle
python313
python313Packages.sympy
python313Packages.matplotlib
python313Packages.numpy
];
shellHook = ''
echo welcome!
'';
};
};
}