From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oCwCLHBiIGT/PgEASxT56A (envelope-from ) for ; Sun, 26 Mar 2023 17:19:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qO8ELHBiIGSOggEA9RJhRA (envelope-from ) for ; Sun, 26 Mar 2023 17:19:12 +0200 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 2CFF13C676 for ; Sun, 26 Mar 2023 17:19:12 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679843952; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=t8OB4zZMO8O2QNc8wu4HZHIMGL+X/d8Asb+R1n79QsY=; b=XMstA4X/tZoZ4//uHEnnB5FYEttZSE6y9oNpQf8VT0qOoN6bm0a2QY+buAv3qRzA59pVMZ g68uogkX1SSjT3ibSR3kOFoZGDe/lfo31pABMHIfnV1C0zMR7QHDbUb/lTdIvoLWF+T7Rk ayswsxHtME6jn6JfiK2ycqeBFln6zwZkVAKyDYqRSHySf8//tA984mojx80lajWyvBevJt iF+0yU/WCkBBA1Ar9QwSrgybx/2PtOY7/eB1rE/AxM7rNXKNm2/L1GYaPxmIl3Dkp+m/gA 8HrYYIzuM2wFYxKmXU0IUvAaB2EXV9Bu1Armdu2lBzlLpUOO0YZq1v4bLb4QTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679843952; a=rsa-sha256; cv=none; b=lrRhfVjXJrUYwl5cXwz1+4CIVtNz9zRqWTZPMeOqmpmHaqtLSW4kLdpT6d74pngfNk0LJP vHgO/odGlmOK8OxCDJNw9sLER8DrIU3+uiXtaDY0ax808NdSqc96kFs/qg12lPIOvOgacS gPyr2Ag71NwVDb958e2D3+gNuS4TZTWQx7ar1u37feHnuBWaNQZ5Fc+18cHC1kpzSU+iBl jzK8a10DWu2X1/fl+ad6tz5NscmAJ5wcx+K/IzAIYZ8v9fNdB5ZrMdcu1Uo1LYb+7pW4zR i/sZEggb8D4MKKqi2dnweiu52TZlhzP3XfEQR8ZfigT3WTg4Qku+XWj8xcWoeg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pgS9B-00041W-JY; Sun, 26 Mar 2023 11:19: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 1pgS99-00041M-MW for guix-patches@gnu.org; Sun, 26 Mar 2023 11:19:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pgS99-0007eO-0W for guix-patches@gnu.org; Sun, 26 Mar 2023 11:19:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pgS98-0006R7-N1 for guix-patches@gnu.org; Sun, 26 Mar 2023 11:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62463] [PATCH] services: fstrim: Fix schedule ungexp. Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Mar 2023 15:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62463 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62463@debbugs.gnu.org Cc: Bruno Victal X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167984388324665 (code B ref -1); Sun, 26 Mar 2023 15:19:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Mar 2023 15:18:03 +0000 Received: from localhost ([127.0.0.1]:45706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgS8B-0006Pk-6n for submit@debbugs.gnu.org; Sun, 26 Mar 2023 11:18:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:43606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pgS89-0006PP-7J for submit@debbugs.gnu.org; Sun, 26 Mar 2023 11:18:01 -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 1pgS88-0003tO-ST for guix-patches@gnu.org; Sun, 26 Mar 2023 11:18:00 -0400 Received: from smtpmciv2.myservices.hosting ([185.26.107.238]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pgS87-0007XS-An for guix-patches@gnu.org; Sun, 26 Mar 2023 11:18:00 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpmciv2.myservices.hosting (Postfix) with ESMTP id 473F320D8F for ; Sun, 26 Mar 2023 17:17:46 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 95DBB8009E; Sun, 26 Mar 2023 17:17:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Q_jXA_L24aWH; Sun, 26 Mar 2023 17:17:43 +0200 (CEST) Received: from guix-nuc.home.arpa (bl9-119-177.dsl.telepac.pt [85.242.119.177]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 2F3198009C; Sun, 26 Mar 2023 17:17:43 +0200 (CEST) From: Bruno Victal Date: Sun, 26 Mar 2023 16:17:22 +0100 Message-Id: <7af61583539bf581432ee87cb2401ee9674836a7.1679843763.git.mirai@makinata.eu> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.26.107.238; envelope-from=mirai@makinata.eu; helo=smtpmciv2.myservices.hosting X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: 2CFF13C676 X-Spam-Score: -2.03 X-Migadu-Spam-Score: -2.03 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: Dsg/1zUHzw9R Previously, only the first level of the list would be quoted, resulting in a schedule of the sort: '(next-second (range 0 60 30)) being incorrectly ungexp'd into: (list next-second (0 30)) * gnu/services/linux.scm (fstrim-mcron-job): Fix schedule ungexp. --- gnu/services/linux.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/services/linux.scm b/gnu/services/linux.scm index d085b375a2..439848919d 100644 --- a/gnu/services/linux.scm +++ b/gnu/services/linux.scm @@ -234,7 +234,7 @@ (define (fstrim-mcron-job config) ;; lists are ungexp'd correctly since @var{schedule} ;; can be either a procedure, a string or a list. #$(if (list? schedule) - `(list ,@schedule) + #~'(#$@schedule) schedule) (lambda () (system* #$(file-append package "/sbin/fstrim") -- 2.39.1