nonguix/nonguix
John Kehayias 26778f221b
nonguix: chromium-binary-build: Extend wrapper-plan syntax.
This commit is similar to a0079cf1bd which
allowed patchelf-plan to take entries with an optional path.  Here,
wrapper-plan is extended to allow for additional syntax (not just a list of
strings) similar to patchelf-plan.  Now, entries can be a list, with the first
the string for the file to be patched and the second a list which is added to
the patchelf-plan.

This allows, for example, to patch RPATH to effectively have $ORIGIN for
binaries that need it, with an entry like `("bin/binary" (("out"
"/lib/Binary")))` common for some chromium-based packages.  See followup
commits for these changes to reduce LD_LIBRARY_PATH wrapping in some packages.

* nonguix/build-system/chromium-binary.scm (build-patchelf-plan): Handle
entries in wrapper-plan which are a list so that the cdr is added to
patchelf-plan for the car.
(chromium-binary-build): Update doc string for this change and some basics
which were not documented.
2025-02-09 14:11:39 -05:00
..
build nonguix: chromium-binary-build-system: Hint Electron Ozone Platform. 2025-01-04 19:40:33 -05:00
build-system nonguix: chromium-binary-build: Extend wrapper-plan syntax. 2025-02-09 14:11:39 -05:00
download.scm *.scm: Use SPDX license identifiers. 2022-12-19 17:17:39 +01:00
licenses.scm *.scm: Use SPDX license identifiers. 2022-12-19 17:17:39 +01:00
modules.scm *.scm: Use SPDX license identifiers. 2022-12-19 17:17:39 +01:00
multiarch-container.scm nonguix: multiarch-container: Handle empty shares env variable. 2025-01-08 17:57:05 -05:00
utils.scm nonguix: Add with-transformation. 2025-01-20 23:52:23 +08:00