diff options
| author | Maximilian Bosch <mb@flyingcircus.io> | 2025-03-26 14:44:33 +0100 |
|---|---|---|
| committer | Maximilian Bosch <mb@flyingcircus.io> | 2025-03-26 14:44:33 +0100 |
| commit | b9f016123873aada469020b2508e37a39971a90d (patch) | |
| tree | 5ff330fe5f1636d9c281dd04fdb48283f523679a /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | d95226c428ab1957a956784b2b29e854c52794eb (diff) | |
buildPgrxExtension: enable building workspaces
Doing
cargoBuildFlags = [ "-p" "foo" ]
doesn't work here since this gets only passed to PGRX_BUILD_FLAGS which
in turn is used by `cargo build`.
This means that pgrx itself doesn't know of the workspace setup and
fails with
Error:
0: Couldn't get manifest path
1: `pgrx` requires a root package in a workspace when `--package` is not specified.
This patch introduces another flag called `cargoPgrxFlags` to do the
right thing, i.e. to pass this to each pgrx invocation.
Using `cargoBuildFlags` is not reasonable here since `cargo build`
accepts flags that may not be valid when invoking `cargo pgrx` (e.g. `-r`).
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
