diff options
| author | Andrew Marshall <andrew@johnandrewmarshall.com> | 2023-05-09 18:34:50 -0400 |
|---|---|---|
| committer | Andrew Marshall <andrew@johnandrewmarshall.com> | 2023-05-20 19:30:09 -0400 |
| commit | baecc1d300981a61242e656118cee33ca141fe24 (patch) | |
| tree | 7817df779ab564ab98b3a5d2202380fad4abd877 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 9a8475c634b669680dc1b9e62482c3bf97ff371b (diff) | |
bitwarden: make applying patches easier
Since `sourceRoot` occurs before patching, simply setting `patches` in
the native drv to the same as the npm drv doesn’t work, as paths outside
the `sourceRoot` referenced in the patches don’t exist and cause
applying them to fail. Instead, use `applyPatches` to make `src` have
the patches already applied before `sourceRoot` comes into play. It
would be possible to not use `sourceRoot` and just `cd`, but then the
`Cargo.lock` location needs to be manually specified and it just becomes
more mess than it’s worth. `applyPatches` seems the cleanest way to
achieve this.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
