diff options
| author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2025-06-10 16:16:52 +0900 |
|---|---|---|
| committer | Hilton Chain <hako@ultrarare.space> | 2025-06-11 22:15:34 +0800 |
| commit | d154ff02195adbeb2e8c2fede14659fc3ddab199 (patch) | |
| tree | 4b732ac75c20173365d3799b0811448271d037c0 | |
| parent | fb6696c598f630ff46fe542a0523d47a788abaa0 (diff) | |
build/chromium-binary: Fix indentation.
* nonguix/build/chromium-binary-build-system.scm: Fix indentation.
Signed-off-by: Hilton Chain <hako@ultrarare.space>
| -rw-r--r-- | nonguix/build/chromium-binary-build-system.scm | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/nonguix/build/chromium-binary-build-system.scm b/nonguix/build/chromium-binary-build-system.scm index 6d5eeb2..0295891 100644 --- a/nonguix/build/chromium-binary-build-system.scm +++ b/nonguix/build/chromium-binary-build-system.scm | |||
| @@ -32,32 +32,32 @@ | |||
| 32 | (lambda (exe) | 32 | (lambda (exe) |
| 33 | (display (string-append "Wrapping " exe "\n")) | 33 | (display (string-append "Wrapping " exe "\n")) |
| 34 | (wrap-program exe | 34 | (wrap-program exe |
| 35 | `("FONTCONFIG_PATH" ":" prefix | 35 | `("FONTCONFIG_PATH" ":" prefix |
| 36 | (,(string-join | 36 | (,(string-join |
| 37 | (list | ||
| 38 | (string-append fontconfig-minimal "/etc/fonts") | ||
| 39 | output) | ||
| 40 | ":"))) | ||
| 41 | `("PATH" ":" prefix | ||
| 42 | (,(string-join | ||
| 43 | (append | ||
| 44 | bin-directories | ||
| 45 | (list | 37 | (list |
| 46 | bin)) | 38 | (string-append fontconfig-minimal "/etc/fonts") |
| 47 | ":"))) | 39 | output) |
| 48 | `("LD_LIBRARY_PATH" ":" prefix | 40 | ":"))) |
| 49 | (,(string-join | 41 | `("PATH" ":" prefix |
| 50 | (append | 42 | (,(string-join |
| 51 | lib-directories | 43 | (append |
| 52 | (list | 44 | bin-directories |
| 53 | (string-append nss "/lib/nss") | 45 | (list |
| 54 | output)) | 46 | bin)) |
| 55 | ":"))) | 47 | ":"))) |
| 56 | ;; Give a hint to Electron-based apps to detect if Wayland or X11 should | 48 | `("LD_LIBRARY_PATH" ":" prefix |
| 57 | ;; be used. | 49 | (,(string-join |
| 58 | ;; NOTE: The env-var version of this CLI arg was added in Electron >=28 | 50 | (append |
| 59 | `("ELECTRON_OZONE_PLATFORM_HINT" ":" = | 51 | lib-directories |
| 60 | ("auto")))) | 52 | (list |
| 53 | (string-append nss "/lib/nss") | ||
| 54 | output)) | ||
| 55 | ":"))) | ||
| 56 | ;; Give a hint to Electron-based apps to detect if Wayland or X11 should | ||
| 57 | ;; be used. | ||
| 58 | ;; NOTE: The env-var version of this CLI arg was added in Electron >=28 | ||
| 59 | `("ELECTRON_OZONE_PLATFORM_HINT" ":" = | ||
| 60 | ("auto")))) | ||
| 61 | (map | 61 | (map |
| 62 | (lambda (exe) (string-append bin "/" exe)) | 62 | (lambda (exe) (string-append bin "/" exe)) |
| 63 | (filter | 63 | (filter |
| @@ -72,7 +72,7 @@ | |||
| 72 | (add-after 'install 'install-wrapper install-wrapper))) | 72 | (add-after 'install 'install-wrapper install-wrapper))) |
| 73 | 73 | ||
| 74 | (define* (chromium-binary-build #:key inputs (phases %standard-phases) | 74 | (define* (chromium-binary-build #:key inputs (phases %standard-phases) |
| 75 | #:allow-other-keys #:rest args) | 75 | #:allow-other-keys #:rest args) |
| 76 | "Build the given package, applying all of PHASES in order." | 76 | "Build the given package, applying all of PHASES in order." |
| 77 | (apply gnu:gnu-build #:inputs inputs #:phases phases args)) | 77 | (apply gnu:gnu-build #:inputs inputs #:phases phases args)) |
| 78 | 78 | ||
