From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mFeRKVkW1l9QSQAA0tVLHw (envelope-from ) for ; Sun, 13 Dec 2020 13:25:45 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mCtdJVkW1l+RFQAAB5/wlQ (envelope-from ) for ; Sun, 13 Dec 2020 13:25:45 +0000 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 4C2F694042C for ; Sun, 13 Dec 2020 13:25:45 +0000 (UTC) Received: from localhost ([::1]:37400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koRNg-00062E-9b for larch@yhetil.org; Sun, 13 Dec 2020 08:25:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koRN0-000622-2H for guix-patches@gnu.org; Sun, 13 Dec 2020 08:25:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36196) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koRMz-0006r3-PC for guix-patches@gnu.org; Sun, 13 Dec 2020 08:25:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1koRMz-00005Z-KS for guix-patches@gnu.org; Sun, 13 Dec 2020 08:25:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45191] [PATCH] Improve reproducibility of package ECL Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 13 Dec 2020 13:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45191 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Zhu Zihao Received: via spool by 45191-submit@debbugs.gnu.org id=B45191.160786586932689 (code B ref 45191); Sun, 13 Dec 2020 13:25:01 +0000 Received: (at 45191) by debbugs.gnu.org; 13 Dec 2020 13:24:29 +0000 Received: from localhost ([127.0.0.1]:47742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koRMS-0008VA-UI for submit@debbugs.gnu.org; Sun, 13 Dec 2020 08:24:29 -0500 Received: from mout01.posteo.de ([185.67.36.65]:57436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koRMQ-0008Uh-Jp for 45191@debbugs.gnu.org; Sun, 13 Dec 2020 08:24:27 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id DFE99160061 for <45191@debbugs.gnu.org>; Sun, 13 Dec 2020 14:24:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1607865859; bh=6N3LJDxy3A4vMCMO0XdTa+MT+odNDyPt06ZMM+Z6eqs=; h=From:To:Cc:Subject:Date:From; b=MbK0ioElw84AyhQBdonZH2NLhl70vQuoSfJQWlYOArrFWI9mk/BaX2pLMqqLziFsJ mvD7Q5mblEFpdkM1kE34j8GsJ4bVFhvdQVkgHaftHaUtom202N4X+KqPivvM/v9FXl +XlQh8UI57EQbndw0sT7tyPGresdv4hk8kIkvhBga6soK2RVzyhHXVJ8BDRTJEa/Yv AHprF7auzE/8gwB3zk4cTGAAciz0yYKhpidetCuFoNSdpGu+mC7ARcF1aOE9X9WUCR MUl0om31g/hgvZnVSMZhOklf299pZiAATunUsmqVVm0iYDYd+mXT9jTKnD9SL/RQa1 PzwFMdJWxOUew== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Cv4x91Mqbz9rxM; Sun, 13 Dec 2020 14:24:13 +0100 (CET) References: <867dpnwxx1.fsf@163.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Guillaume Le Vaillant In-reply-to: <867dpnwxx1.fsf@163.com> Date: Sun, 13 Dec 2020 14:24:09 +0100 Message-ID: <87o8ixdekm.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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: List-Help: List-Subscribe: , Cc: 45191@debbugs.gnu.org Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.80 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=posteo.net header.s=2017 header.b=MbK0ioEl; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 4C2F694042C X-Spam-Score: -2.80 X-Migadu-Scanner: scn1.migadu.com X-TUID: 1jUFlD+lOuct --=-=-= Content-Type: text/plain Zhu Zihao skribis: > + (use-modules (ice-9 ftw)) > + (let* ((lib (string-append (assoc-ref outputs "out") "/lib")) > + (dir (car (scandir lib (lambda (x) > + (string-prefix? "ecl-" x)))))) > + (delete-file (string-append lib "/" dir "/build-stamp"))) Wouldn't something like the following suffice? --8<---------------cut here---------------start------------->8--- (delete-file (string-append (assoc-ref outputs "out") "/lib/ecl-" ,version "/build-stamp")) --8<---------------cut here---------------end--------------->8--- --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCX9YV+Q8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j9YywEAj4+rfEeUCkICroFYAAAQe9Z15ApLdxcl+DvB EFbMQ1wBAJuCfX74XXQ9KGlJOEHxPz9lXe4MTQgUOmjtKCNBCkvx =yaru -----END PGP SIGNATURE----- --=-=-=--