{ description = "A basic Typst project."; inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; inputs.systems.url = "github:nix-systems/default"; outputs = { systems, nixpkgs, ... }: let eachSystem = nixpkgs.lib.genAttrs (import systems); in { devShells = eachSystem (system: let pkgs = nixpkgs.legacyPackages.${system}; in { default = pkgs.mkShell { packages = with pkgs; [ typst ]; shellHook = '' echo "Welcome to the shell!" ''; }; }); }; }