~ruther/guix-local

cb96b84c0edec0dd5ece774e1ee89f36103b4497 — Artyom V. Poptsov 1 year, 5 months ago 833fa80
gnu: tuir: Fix build.

* gnu/packages/syndication.scm (tuir): Fix build.
[arguments] <#:test-flags>: Disable tests that require
"/etc/ssl/certs/ca-certificates.crt" and networking.

Change-Id: I7c75e384c11300a3c4e339f8f00b7d07fd3ec07d
1 files changed, 11 insertions(+), 1 deletions(-)

M gnu/packages/syndication.scm
M gnu/packages/syndication.scm => gnu/packages/syndication.scm +11 -1
@@ 7,6 7,7 @@
;;; Copyright © 2022 Liliana Marie Prikler <liliana.prikler@gmail.com>
;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2024 Luis Guilherme Coelho <lgcoelho@disroot.org>
;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;


@@ 519,7 520,16 @@ a simple interface that makes it easy to organize and browse feeds.")
    (build-system pyproject-build-system)
    (arguments
     (list #:test-flags
           '(list "-k" "not test_content_humanize_timestamp")
           ;; Some tests require "/etc/ssl/certs/ca-certificates.crt" which is not
           ;; available during the tests; also likely those tests require networking.
           #~(list "-k" (string-append "not test_content"
                                       " and not test_inbox"
                                       " and not test_mime_parsers"
                                       " and not test_oauth"
                                       " and not test_page"
                                       " and not test_submission"
                                       " and not test_subreddit"
                                       " and not test_subscription"))
           #:phases
           #~(modify-phases %standard-phases
               (delete 'sanity-check))))  ; Reads environment variables.