From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 01 14:27:51 2022 Received: (at 54216) by debbugs.gnu.org; 1 Mar 2022 19:27:51 +0000 Received: from localhost ([127.0.0.1]:38321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nP89u-0006I4-Li for submit@debbugs.gnu.org; Tue, 01 Mar 2022 14:27:51 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]:12692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nP89s-0006Hp-Em for 54216@debbugs.gnu.org; Tue, 01 Mar 2022 14:27:41 -0500 Date: Tue, 01 Mar 2022 19:27:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail3; t=1646162852; bh=n/gl6ztsgYPgfrptlfT6EJnvGaCguQ74jagYO9hlGgE=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=Pkb+ZEqv7aOn+bxsdIoF0KqlBy8D2XFMN7l1tZmLLYfi3WwvbPlZektR31mm8kCl+ Fyy8M6WBFMsNCc9jhEs86JxIFSJD6QAqKlrlXLfvtvrcFf2RxX87n4geRjZb11nInh 2azn5zKuOrtmHcJmE4RX/LJ7MGa8HlYJLNlMD3A8MnKpUfa2soJfyFBJOqWgXSHdmw I8KbC00GBeA62cw7iOcBvOUeBqn3mIMazo7pmmGskPWDAFeVl/556V8IS9Ag7GrYaB gmJlSStQzl+qe0GweNM0BwPpqCwVfVUqhcZfC9mYbwlXsON5WFnqt0ixJmXjefpcxD bktuph6/wtOrQ== To: Maxime Devos From: Attila Lendvai Subject: Re: [bug#54216] [PATCH v2] gnu: shepherd-for-guix: New package for use in Guix. Message-ID: In-Reply-To: <992c3326a10e0bb28491f8226ebbe84aa93ad9ca.camel@telenet.be> References: <20220301182848.26694-1-attila@lendvai.name> <20220301184517.13439-1-attila@lendvai.name> <992c3326a10e0bb28491f8226ebbe84aa93ad9ca.camel@telenet.be> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54216 Cc: 54216@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Attila Lendvai Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > This origin record can be simplified a bit by using inheritance: > > (origin > (inherit (package-source shepherd)) > (method git-fetch) > (uri (git-reference [...])) > (sha256 [...])) > > 'inherit' is not restricted to packages, it can be used for any record > type defined with (guix records)! oh, excellent point, thanks Maxime! unfortunately, it won't help us much here, because one snippet modifies Makefile.am, while the other Makefile.in. once it's merged i'm planning to send another patch to staging that will cl= ean this up a little by building normal shepherd also from git. that patch will include this inheritance. -- =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- The truth cannot be told, only realized.