{ inputs = { devshell.inputs.nixpkgs.follows = "nixpkgs"; devshell.url = "github:numtide/devshell"; flake-parts.url = "github:hercules-ci/flake-parts"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; }; outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } { systems = [ "x86_64-linux" ]; imports = [ inputs.devshell.flakeModule ]; perSystem = { pkgs, ... }: { devshells.default = { packages = [ (pkgs.writeShellApplication { name = "build"; runtimeInputs = [ pkgs.marp-cli ]; text = '' marp slides.md --preview --watch ''; }) ]; }; }; }; }