diff options
| author | Guillaume Le Vaillant <glv@posteo.net> | 2025-05-31 10:58:41 +0200 |
|---|---|---|
| committer | Guillaume Le Vaillant <glv@posteo.net> | 2025-06-06 20:42:08 +0200 |
| commit | 45f894ee872c200d76a6a3dbec0db17a66c24c43 (patch) | |
| tree | db9341e1427809c21bf426d4519cb142d3f2e291 /gnu | |
| parent | 1e3e60a42b4107f99ed02d97989fb0e2526b7acd (diff) | |
gnu: cl-qvm: Fix build.
gnu/packages/quantum.scm (sbcl-qvm)[arguments]: Add 'fix-build' phase.
Change-Id: Ia5d4265c32d4e4c160d8343a8e8bc7f225537238
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/quantum.scm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/quantum.scm b/gnu/packages/quantum.scm index ed96a32464c..8fc4bd10c0f 100644 --- a/gnu/packages/quantum.scm +++ b/gnu/packages/quantum.scm | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2024 Michal Atlas <michal_atlas+git@posteo.net> | 2 | ;;; Copyright © 2024 Michal Atlas <michal_atlas+git@posteo.net> |
| 3 | ;;; Copyright © 2024 Guillaume Le Vaillant <glv@posteo.net> | 3 | ;;; Copyright © 2024, 2025 Guillaume Le Vaillant <glv@posteo.net> |
| 4 | ;;; | 4 | ;;; |
| 5 | ;;; This file is part of GNU Guix. | 5 | ;;; This file is part of GNU Guix. |
| 6 | ;;; | 6 | ;;; |
| @@ -160,6 +160,14 @@ standard gates and instructions") | |||
| 160 | (substitute* "app/src/qvm-app-version.lisp" | 160 | (substitute* "app/src/qvm-app-version.lisp" |
| 161 | (("\\(git-hash '#:qvm-app\\)") | 161 | (("\\(git-hash '#:qvm-app\\)") |
| 162 | "\"unknown\"")))) | 162 | "\"unknown\"")))) |
| 163 | (add-after 'unpack 'fix-build | ||
| 164 | (lambda _ | ||
| 165 | ;; Don't use symbol that doesn't exists in swank 2.31. | ||
| 166 | (substitute* "app/src/entry-point.lisp" | ||
| 167 | (("\\(defvar swank:\\*use-dedicated-output-stream\\*\\)") | ||
| 168 | "") | ||
| 169 | (("\\(setf swank:\\*use-dedicated-output-stream\\* nil\\)") | ||
| 170 | "")))) | ||
| 163 | (add-after 'create-asdf-configuration 'build-program | 171 | (add-after 'create-asdf-configuration 'build-program |
| 164 | (lambda* (#:key outputs #:allow-other-keys) | 172 | (lambda* (#:key outputs #:allow-other-keys) |
| 165 | (build-program (string-append (assoc-ref outputs "bin") | 173 | (build-program (string-append (assoc-ref outputs "bin") |
