Subject: [PATCH v4 2/4] gnu: varnish: Restrain build to x86-64-linux.

From: Nicolas Graves <[email-masked]>
Date: Thu, 17 Oct 2024 06:29:58 +0200

* gnu/packages/web.scm
(varnish)[supported-systems]: Set to '("x86-64-linux").
(varnish-modules)[supported-systems]: Set like varnish.
---
 gnu/packages/web.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index e283797a62..47c80c0065 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -6686,6 +6686,9 @@ (define-public varnish
 configuration language.")
     (properties
      '((release-monitoring-url . "https://varnish-cache.org/releases/index.html")))
+    ;; On QA, also properly builds on i686-linux and armhf-linux.
+    ;; But we probably never want to cross-compile varnish.
+    (supported-systems '("x86_64-linux"))
     (license (list license:bsd-2           ;main distribution
                    license:zlib            ;lib/libvgz/*
                    license:public-domain   ;bin/varnishncsa/as64.c, include/miniobj.h
@@ -6719,6 +6722,7 @@ (define-public varnish-modules
      "This package provides a collection of modules (@dfn{vmods}) for the Varnish
 cache server, extending the @acronym{VCL, Varnish Configuration Language} with
 additional capabilities.")
+    (supported-systems (package-supported-systems varnish))
     (license license:bsd-2)))
 
 (define-public xinetd
-- 
2.46.0