From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wG9KCJApg2aeaAEAe85BDQ:P1 (envelope-from ) for ; Mon, 01 Jul 2024 22:11:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id wG9KCJApg2aeaAEAe85BDQ (envelope-from ) for ; Tue, 02 Jul 2024 00:11:28 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=freakingpenguin.com header.s=x header.b="r/VDD9zj"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1719871888; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=P/7+yKseN0WFttFqK+M1My+09VFz3lTZ/XFv6XCbZwo=; b=ZNFsJw6jKp9XXhPOJvcAWrU3XenGLJyF6/5nLaI9tUP24qCFVIcM2zpjlBR9Zlbry8ANMB gF9B3gH2H49tYZx8kaHuq0BhybfYX83AThykdAn8aVTQMzzA2wUgVQfV0lCo3PbpskVWdB g8Oea1qmM7ifVsnVKWU0jKy37gS9gmdFwGtnan/71sXE7HUe4hWQN/wTeoP85CTCtxyhe4 zMwtHJa/lcSiAWg9fZk2L3fawFjxIpK0JXtP5WvLTVEtZtRs9aZvlLv2esOvrMoYOK9/J4 UOvYw22VZB7LoaoQF1AXoFid9aSOjF8OIp4R3whsI/GeDLKZBHK4xm0+pNlq6g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719871888; a=rsa-sha256; cv=none; b=dz4ffzTTEGdubSWQgiV/niYALl5pskuJg1vw6MqZWYo3dtRdZLjBiHkBlTCZhjFWLDHNbY 4enigueIa9bs5P10ZSIRaHirTvo2Xx+ueWbfMhVM1XuTVtBk9ymauPUHvyjK4p6xzLvxFU JdOmDoHcvIYLNwz0gWK6Hl7B3OQnEfA0ig42DcAzwT3QM0VeiHQWwIZsGACGvmLojUMipz 5qD/PR5URSrcVOze1dDI7bGmoSeMdpwJmB5Xf0/2EG5mtDs7c8ZBPU6K1IyxymsxkAcriX aZQwZtK1cvJqVZw17f8lwrAw6T2pMrYO0priy9KtrB2j8Yl5l19vMrxlA4zVDw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=freakingpenguin.com header.s=x header.b="r/VDD9zj"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EE05972D34 for ; Tue, 02 Jul 2024 00:11:27 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOPEn-0005BK-0u; Mon, 01 Jul 2024 18:11:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sOPEk-0005Aj-3Y for bug-guix@gnu.org; Mon, 01 Jul 2024 18:11:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sOPEj-00082N-LZ for bug-guix@gnu.org; Mon, 01 Jul 2024 18:11:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sOPEk-0007Vi-8h for bug-guix@gnu.org; Mon, 01 Jul 2024 18:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#71887: Raise an error when extending a service type that doesn't support extensions Resent-From: Richard Sent Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 01 Jul 2024 22:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71887 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 71887@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171987184328840 (code B ref -1); Mon, 01 Jul 2024 22:11:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Jul 2024 22:10:43 +0000 Received: from localhost ([127.0.0.1]:35005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOPER-0007V5-3R for submit@debbugs.gnu.org; Mon, 01 Jul 2024 18:10:43 -0400 Received: from lists.gnu.org ([209.51.188.17]:39920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOPEO-0007Uw-Po for submit@debbugs.gnu.org; Mon, 01 Jul 2024 18:10:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sOPEN-00053f-Lb for bug-guix@gnu.org; Mon, 01 Jul 2024 18:10:39 -0400 Received: from mail-108-mta114.mxroute.com ([136.175.108.114]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sOPEL-00080i-7P for bug-guix@gnu.org; Mon, 01 Jul 2024 18:10:39 -0400 Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta114.mxroute.com (ZoneMTA) with ESMTPSA id 19070597c2300017a3.001 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Mon, 01 Jul 2024 22:10:31 +0000 X-Zone-Loop: 6cf732c21d9ba4a0574335b52e789ab5db6d013c1ef8 X-Originating-IP: [136.175.111.3] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freakingpenguin.com; s=x; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=P/7+yKseN0WFttFqK+M1My+09VFz3lTZ/XFv6XCbZwo=; b=r/VDD9zjMXsiaVsaGWEvo+9RDI yoBYnatDH+X5mo3uklk4C4WD9LxGUB5Y02bfN1REpeVEjRa14xMK2yidIZIiNn5SE1YmKsBVr1MBb eGoPRdHWDA1Do8UK7ms8Lnetq0foJ5Lh0mtRVTkBdbAkktLKSC3uTPt2VCA/d0UGj08M6x9njvIld 1oqcUpv+KBzlF2nZWX+sa3hBiM/gL13h2c03YfqgmY9Zy/s6lnWsis+FfyLBFz0f488XIjy5Gq787 /yNYlEMB99p8Cg+qXgezlW74oQvkb1UufB3+Yss54wlY4mpn9jQfMx/fmT6Naggjg4u57vxHZR5Hn QRO7H/4g==; From: Richard Sent Date: Mon, 01 Jul 2024 18:10:27 -0400 Message-ID: <877ce4dar0.fsf@freakingpenguin.com> MIME-Version: 1.0 Content-Type: text/plain X-Authenticated-Id: richard@freakingpenguin.com Received-SPF: pass client-ip=136.175.108.114; envelope-from=richard@freakingpenguin.com; helo=mail-108-mta114.mxroute.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.58 X-Spam-Score: -3.58 X-Migadu-Queue-Id: EE05972D34 X-Migadu-Scanner: mx11.migadu.com X-TUID: vqSQiJ48X6EV Hi Guix, At present it is possible to extend service-types that do not implement compose or extend methods, resulting in surprising behavior that's hard to debug [1]. We should throw an error when a service-type that does not have compose or extend fields is extended. --8<---------------cut here---------------start------------->8--- (use-modules (gnu home) (gnu home services) (gnu home services desktop) (gnu services)) (home-environment (services (list ;; home-redshift-service-type does not support extensions (simple-service 'this-should-error home-redshift-service-type "According to all known laws of aviation...")))) --8<---------------cut here---------------end--------------->8--- [1]: https://lists.gnu.org/archive/html/help-guix/2024-07/msg00000.html -- Take it easy, Richard Sent Making my computer weirder one commit at a time.