diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2026-04-13 16:39:18 +0300 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2026-04-13 17:36:13 +0300 |
| commit | cf94cd3e4e81d91af5bed34c33aa0046223b7a0c (patch) | |
| tree | 7f1483eba5b97aca986905083b73a3fc31df7f18 /gnu/packages/build-tools.scm | |
| parent | f6365c6b3e5736a3a1665e25e4156133b9301698 (diff) | |
gnu: bam: Build with python3.
* gnu/packages/build-tools.scm (bam)[source]: Add patch.
[native-inputs]: Remove python-2; add python-minimal-wrapper.
* gnu/packages/patches/bam-python3-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
Change-Id: Iec960101e148b7b71caf737cccdb5b762477a545
Diffstat (limited to 'gnu/packages/build-tools.scm')
| -rw-r--r-- | gnu/packages/build-tools.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm index 813760f8455..5e401dbd846 100644 --- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm | |||
| @@ -196,7 +196,8 @@ according to the system capabilities and the user-selected options.") | |||
| 196 | (file-name (git-file-name name version)) | 196 | (file-name (git-file-name name version)) |
| 197 | (sha256 | 197 | (sha256 |
| 198 | (base32 | 198 | (base32 |
| 199 | "13br735ig7lygvzyfd15fc2rdygrqm503j6xj5xkrl1r7w2wipq6")))) | 199 | "13br735ig7lygvzyfd15fc2rdygrqm503j6xj5xkrl1r7w2wipq6")) |
| 200 | (patches (search-patches "bam-python3-compat.patch")))) | ||
| 200 | (build-system gnu-build-system) | 201 | (build-system gnu-build-system) |
| 201 | (arguments | 202 | (arguments |
| 202 | `(#:make-flags `(,(string-append "CC=" ,(cc-for-target)) | 203 | `(#:make-flags `(,(string-append "CC=" ,(cc-for-target)) |
| @@ -207,7 +208,7 @@ according to the system capabilities and the user-selected options.") | |||
| 207 | (modify-phases %standard-phases | 208 | (modify-phases %standard-phases |
| 208 | (delete 'configure)))) | 209 | (delete 'configure)))) |
| 209 | (native-inputs | 210 | (native-inputs |
| 210 | `(("python" ,python-2))) | 211 | (list python-minimal-wrapper)) |
| 211 | (inputs | 212 | (inputs |
| 212 | (list lua)) | 213 | (list lua)) |
| 213 | (home-page "https://matricks.github.io/bam/") | 214 | (home-page "https://matricks.github.io/bam/") |
