diff options
| author | John Kehayias <john.kehayias@protonmail.com> | 2025-08-08 23:09:14 -0400 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-08-09 09:34:58 +0200 |
| commit | 3eb1ceac58985c0407f3ade1cfa72dbee1b7886a (patch) | |
| tree | 2fb4dffbc5cb2191a54d322a99ea6794475686be /gnu | |
| parent | 42d7a9ddf9d48e1ae5deec44ee6bee0383918a37 (diff) | |
gnu: docker-compose: Fix build.
python-pyyaml-5 does not build and is needed for docker-compose. This is
a stopgap until docker can be updated to the modern Go version, which
includes "docker compose".
* gnu/packages/docker.scm (docker-compose)[arguments]: Add phase fix-pyyaml
to relax python-pyyaml requirement.
[inputs]: Replace python-pyyaml-5 with python-pyyaml.
Change-Id: I7410f8b5a8f308aeaae5793399dbfc5eef0e1822
Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/docker.scm | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm index a0c90ac5aa0..8c7e4e88e7a 100644 --- a/gnu/packages/docker.scm +++ b/gnu/packages/docker.scm @@ -139,7 +139,16 @@ client.") "1dq9kfak61xx7chjrzmkvbw9mvj9008k7g8q7mwi4x133p9dk32c")))) (build-system python-build-system) ;; TODO: Tests require running Docker daemon. - (arguments '(#:tests? #f)) + (arguments + (list + #:tests? #f + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-pyyaml + (lambda _ + (substitute* "setup.py" + ((", < 6") + ""))))))) (inputs (list python-cached-property python-distro @@ -148,7 +157,7 @@ client.") python-docopt python-dotenv python-jsonschema-3 - python-pyyaml-5 + python-pyyaml python-requests python-six python-texttable |
