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 cEQ2FYv5SWB2CAAA0tVLHw (envelope-from ) for ; Thu, 11 Mar 2021 11:05:47 +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 yGP6EIv5SWAISAAAB5/wlQ (envelope-from ) for ; Thu, 11 Mar 2021 11:05:47 +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 AD85B181E4 for ; Thu, 11 Mar 2021 12:05:46 +0100 (CET) Received: from localhost ([::1]:45174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKJ8S-0000Cn-BR for larch@yhetil.org; Thu, 11 Mar 2021 06:05:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKJ88-000098-Dz for help-guix@gnu.org; Thu, 11 Mar 2021 06:05:24 -0500 Received: from a.siauliai.hyperbola.info ([2a02:e00:ffe7:6::1]:55114 helo=smtp.hyperbola.info) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKJ83-0008Nv-CS for help-guix@gnu.org; Thu, 11 Mar 2021 06:05:24 -0500 Received: by smtp.hyperbola.info (OpenSMTPD) with ESMTPSA id 4382b9dc (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) auth=yes user=adfeno for ; Thu, 11 Mar 2021 11:05:15 +0000 (UTC) Subject: Re: Is there something similar to nix overlays in guix? To: help-guix@gnu.org References: Message-ID: <08bd745a-74c1-af03-20af-2458f1001e93@hyperbola.info> Date: Thu, 11 Mar 2021 08:05:02 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Icedove/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vNaq5Cw60zCGcblX4oY6lQRwtLej3FcW3" Received-SPF: pass client-ip=2a02:e00:ffe7:6::1; envelope-from=adfeno@hyperbola.info; helo=smtp.hyperbola.info 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, NICE_REPLY_A=-0.001, SPF_HELO_FAIL=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" Reply-to: Adonay Felipe Nogueira From: Adonay Felipe Nogueira via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615460746; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=44y80l3nxIcU0JkGEFZTPtZ54PmanCl6st607uXH0QE=; b=n08nEviMhr1hKhq1IHa8UQi51N6IImKbiYcBYoimo+rOB+h2eHeR86idPDzpeklST5vJEw +lLaqig5dyqaV5XO2olaLl6UgstMjHZW1E8AqCCm3Ne/4Erv78CCMZWsUTGDo7bQkcsGUC DKgY4oBeqanQMqFl2jEjbD/JHNNG5xbq/q8uklFwZ3tYMU7pyzh+apdv4q4/KHMtVdRgK5 jaUFgq563DUMJqwBdxobJVH9mEmyv2itxIYu8M5wCmaN3FXeNdjfcqpDphU/szT3KFtLwP g6g9kezwAOcWSWtz4cruIMjojoCPP+2Q5d6l24X+ye6EowJWFja4CDlQHG8L2Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615460746; a=rsa-sha256; cv=none; b=fjnG5BeM2UN6XWnaNodFY2TSUNTaczqtdXAppEw6fv0BrmtKqjI6AUBM1EA6m+hZI/Ff1f 96t1O2Xu1dUAveI3klW0pxEenayrhFrLwfDYRTzS5dXItXlzEES9Qsc0hsN2KtWt0vTCYq M0dp0gN0dKT1+N2FmsfJgit7JBvL+Aoh7pc4Z/DHw+qzNVLIaJK+Zx6XWMwWOGOtcPQJgb Pr302uDEh3R2FLqYyhQhYaMlp4t2K0HktVXVZ7Mj+1xfcQsCl0uSeCsStBwmQSItT1ZX7f 3/zzecITa/mO6QCthJJRuP4jLE7VGJ47FgyVSZd/6hb7xHPVmmxdliJG7R9nzw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.99 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: AD85B181E4 X-Spam-Score: -3.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: f4v7zc2aO2W4 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --vNaq5Cw60zCGcblX4oY6lQRwtLej3FcW3 Content-Type: multipart/mixed; boundary="mMnOU6K7g7HM69dY5ConjJQk3MIzoWAPq" --mMnOU6K7g7HM69dY5ConjJQk3MIzoWAPq Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Em 05/03/2021 16:20, Vin=C3=ADcius dos Santos Oliveira escreveu: > You don't want to be a slave to upstream developers' decisions and > want to apply out-of-tree patches that automatically propagate to the > rest of the packages ecosystem. I don't know the specifics of the non-free software Nix, but by experienc= e I think that one of those might suit your case: a) the (package (source (origin (patches =E2=80=A6) =E2=80=A6) =E2=80=A6)= =E2=80=A6) definition, where stuff is applied right after being unpacked= /extracted, before configuring and building. If you are dealing with GNU = FSDG issues or things which will be upstreamed, this would be the perfect= place for the patch since you wouldn't be forcing the source package to = use Guix's store paths or Guix-specific changes. It also means that peopl= e who do guix build -S will receive the source with patches applied; b) an invocation of GNU patch from (package (arguments (modify-phases =E2= =80=A6) =E2=80=A6) =E2=80=A6), allowing you to do as (a) but for Guix-spe= cific changes; c) use of (package (replacement =E2=80=A6) =E2=80=A6) to your own package= definitions to provide grafts (see `info guix "Security Updates" ` for t= he requirements and caveats), but note that, since I don't use this optio= n, I don't know much about how to implement it; d) invoking guix build =E2=80=94 or those with support for its transforma= tion options =E2=80=94 with --with-patches=3DPACKAGE=3DFILE, to do it lik= e (a); e) same as (d), but with --with-grafts=3DPACKAGE=3DREPLACEMENT, to do it = like (c); f) same as (d), but with --with-latest=3DPACKAGE, to force a given build/= install/upgrade to use the latest known version of PACKAGE instead of the= one from the built package's definition. This of course comes at a price= , as can be read on `info guix "Package Transformation Options" ` --=20 * Ativista do software livre * https://libreplanet.org/wiki/User:Adfeno * Membro dos grupos avaliadores de * Software (Free Software Directory) * Distribui=C3=A7=C3=B5es de sistemas (FreedSoftware) * Sites (Free JavaScript Action Team) * N=C3=A3o sou advogado e n=C3=A3o fomento os n=C3=A3o livres * Sempre veja o spam/lixo eletr=C3=B4nico do teu e-mail * Ou coloque todos os recebidos na caixa de entrada * Sempre assino e-mails com OpenPGP * Chave p=C3=BAblica: vide endere=C3=A7o anterior * Qualquer outro pode ser fraude * Se n=C3=A3o tens OpenPGP, ignore o anexo "signature.asc" * Ao enviar anexos * Docs., planilhas e apresenta=C3=A7=C3=B5es: use OpenDocument * Outros tipos: vide endere=C3=A7o anterior * Use protocolos de comunica=C3=A7=C3=A3o federadas * Vide endere=C3=A7o anterior * Mensagens secretas somente via * XMPP com OMEMO * E-mail criptografado e assinado com OpenPGP --mMnOU6K7g7HM69dY5ConjJQk3MIzoWAPq-- --vNaq5Cw60zCGcblX4oY6lQRwtLej3FcW3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEAREIAB0WIQRlfzovINS9uQH7pZ3I1uFSAe6doQUCYEn5XgAKCRDI1uFSAe6d ocODAP9RF1UOrdOMVHtPdhED9o2uK6s9FW2WUsR4JmfNLu2ctwEAgO/6JYQ58dF/ hEjrA/Et8R8Hr9yoMxPNl6X0nxkERkE= =t+Vx -----END PGP SIGNATURE----- --vNaq5Cw60zCGcblX4oY6lQRwtLej3FcW3--