1 2 3 4 5 6 7 8 9 10
{ pkgs, ... }: pkgs.writeScriptBin "preview" '' #!/bin/sh pushd target/99_result ${pkgs.python3}/bin/python -m http.server 8080 popd ''