plmustache icon indicating copy to clipboard operation
plmustache copied to clipboard

Nix workflow is clunky

Open steve-chavez opened this issue 2 years ago • 1 comments

Problem

To compile, right now I do:

$ nix-shell

And to recompile:

$ <Ctr-C to exit>
$ nix-shell # again

Proposal

Similarly to the postgrest repo, a:

$ plmustache-watch plmustache-build

Would be ideal. Even just a plmustache-build command where exiting manually is not needed would be an improvement.

steve-chavez avatar Sep 10 '23 23:09 steve-chavez

For solving this, I've realized that we need a extensions_dynamic_path config, which has been proposed before but not implemented.

  • https://www.postgresql.org/message-id/flat/CAGRY4nyHd4aVL_T%3D-FRzofLVwxHX06bqz4hb_GbzBafp9XR0NA%40mail.gmail.com

I looked at the implementation and it didn't seem at all difficult but looks like other people are already on it:

  • https://www.postgresql.org/message-id/flat/E7C7BFFB-8857-48D4-A71F-88B359FADCFD%40justatheory.com

Maybe we can include it as a patch for now.

steve-chavez avatar Sep 19 '24 18:09 steve-chavez