From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kKWCLs5CcGYw3QAA62LTzQ:P1 (envelope-from ) for ; Mon, 17 Jun 2024 14:06:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id kKWCLs5CcGYw3QAA62LTzQ (envelope-from ) for ; Mon, 17 Jun 2024 16:06:06 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=cKOg3rch; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718633136; a=rsa-sha256; cv=none; b=JSd9URUZCQKnG0smOMWlOz1d4cfcs6twPf4YXHIbmV0VTV8/WoWNsZukN0gjkyWx2gbFlr Z82h8rEdbNdY0jBRHSNUfwekpoi0+dGocU+kGD8gNFAXIBDUoKZoj5JwjLZtWDXOowGnyB lzIAVXuEhijMLK68s2igkIgzB+X5Zeu5U2q6DTzvcM4XgE+6ehJ2mxWdKZwwvoXB/BvY1g Ys7xXOGb+gAj6PXe3l+sQs7QoWy+X+5OMJSGilDuS+Lz53KgwjIhatxRJugVnhUnJMwWPW F3/eHHfxhIekrJOOzrBDVtxxoQ2B6YsTjnILYLHUCAkJ9yyZj2B0TW81swQAeQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=cKOg3rch; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718633136; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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:dkim-signature; bh=ICspzIII/MykF9akPrqMQpUQLoJI6t+nKH4AZawuRjs=; b=HP6rxK1bzXDgLz0lRSUkDBx26MYSbW8glv5WHrogBbyIrSEm8u+ylkTk8CAgzQM2fGFQJQ LuF0h8BhE8F1QBidhF4uaYtYSbs5XayhJ2R9w+41c8SQV+Gd4jFiay+BuS5hN3fswLHK/d HHnGMeJdgMuHtRSjegpZDiw5Xex9TtlG+22vP1ANeqUQk5f/Pef/qDFHbMgj5eQXFMVvXg xLsbsCO56hC99NdmTqGVP58KLxTLREEuZEv4C7oSJnD/4rDvGKCAcXwRUDeaiGEqX8/bjV cFYWxUU2UFCs1mP5LwJwRkHJXD5aHCnwtom4EbpARCTRaZ4AY6DMb64BJIMZwg== 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 647F71144A for ; Mon, 17 Jun 2024 16:05:36 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJCyy-0008M7-Hx; Mon, 17 Jun 2024 10:05:16 -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 1sIrMV-0004Ci-4e for help-guix@gnu.org; Sun, 16 Jun 2024 11:00:07 -0400 Received: from mail-qk1-x742.google.com ([2607:f8b0:4864:20::742]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sIrMT-0001MZ-HE for help-guix@gnu.org; Sun, 16 Jun 2024 11:00:06 -0400 Received: by mail-qk1-x742.google.com with SMTP id af79cd13be357-794bb6c1c17so7544885a.1 for ; Sun, 16 Jun 2024 08:00:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718550004; x=1719154804; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=ICspzIII/MykF9akPrqMQpUQLoJI6t+nKH4AZawuRjs=; b=cKOg3rchT4i+/HbR2YoQWZhr9fvEeaBCuLAguOHeCi0YaHYINAmk2dJqoG1S/qOaln EH9/tq66DT9u+nRY0rIQohjMAVNHA9WZ4pAUhX/D5FUssuCwyKj5oEmJYMN3x4tSnRom OIapdfL+n9qMIKvXw8UlSq6EgwnsEdKHFZJFYwd0PBnjJPekZTxvSrwMrQso0UaBT6/W l3YlSZKL6Dmnby192j6/zY0m+p6mXW5SppFrgPFCJlwjXt0d/3r738k7RA3aoXb7Frvl 39t/2FwaAqU/VwaYm9//IDUXCsRGJZys2wr9afRknfmWivP/banDA3en1RWVD8sL8LfK kzOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718550004; x=1719154804; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ICspzIII/MykF9akPrqMQpUQLoJI6t+nKH4AZawuRjs=; b=OipvM2iH3fJeMgpazgBLEutxj/0jZv50zw+XYdZa8dtGNQiCAEju3zydKIjkdsX/8p qXsjXQGWY8j6LQjOMMv8sGRa4zmtP2Tp5bXfHEHGi5LDv3iBt743O4i+OqR77SGpxKQj cmo59S0P0H2qvf+dLj63apF/9VjBfQbwqQrU616Id6icKr4/e6H8GGaMrIs9eNxAavji EggV7ZsJNxIk6OymiCKwDLOuoOY+p0qHBKNvaKoRL3CowonBDNcAORZCRxfUgNwHV8Ek HLoAvPFI4gLYnqyoF3QjKPEqAT2ceqFJZ9REQzBXKquDeIxPKBFgNBIlveWbgsyi8ax8 lW/A== X-Forwarded-Encrypted: i=1; AJvYcCXADvLR6eYprOv+1SvWuQ2JgyDRypCWuUetmSE7/uD1kJNcPTczW0M3MfsmOVjjZ++DyNzQk3Zg8mMCEANeHh7Q+g== X-Gm-Message-State: AOJu0YwKGzj+/y52zWACViLK5ImTaiI51LEQEZWAS7Ji4rkxbR9luTne 8vn1EcEYlly17A4781LjPHJ+xTpSCEB8ZJEgrU3kyk/bTqsxifxDe9l8F6HQ X-Google-Smtp-Source: AGHT+IGyAcLGRU5rd/KYK1Juru8m773r8dJp6sIX71qY0uNAPstzeV6/wLHwJmGhSiVat4or8huo/g== X-Received: by 2002:a05:620a:2697:b0:79a:29fa:86da with SMTP id af79cd13be357-79a29fa8885mr582836285a.0.1718550003852; Sun, 16 Jun 2024 08:00:03 -0700 (PDT) Received: from gnus (static-198-54-132-177.cust.tzulo.com. [198.54.132.177]) by smtp.gmail.com with ESMTPSA id af79cd13be357-798abe4f35dsm344227685a.122.2024.06.16.08.00.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Jun 2024 08:00:03 -0700 (PDT) From: Suhail Singh To: rczb Cc: Simon Tournier , "help-guix@gnu.org" Subject: Re: Is there any mechanism of Guix analog to, or trick in Guile to imitate Nix flakes? In-Reply-To: (rczb's message of "Tue, 11 Jun 2024 01:54:45 +0800") References: <87a5k0y49u.fsf@gmail.com> Date: Sun, 16 Jun 2024 11:00:01 -0400 Message-ID: <87cyohexvy.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::742; envelope-from=suhailsingh247@gmail.com; helo=mail-qk1-x742.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 17 Jun 2024 10:05:14 -0400 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.69 X-Migadu-Scanner: mx12.migadu.com X-Spam-Score: -8.69 X-Migadu-Queue-Id: 647F71144A X-TUID: +cLkIq0OTtRx rczb writes: > During evaluation, Nix will generate a JSON file named `flake.lock`, > which stores the exact revisions of the dependencies, just like the > output of `guix describe -f channels`. How would this be different from using, in Guix, say, a manifest file (using the specification syntax along with specification->package) with a channels.scm and then doing the build via guix time-machine? > The lock file is not mandatory. You can delete it whenever you want an > update, and the next invoking of `nix build` or something on the flake > directory will just generate a new one that conforms what's written in > `inputs` while being as up-to-date as possible to the upstream. How would this be different than updating the channels.scm file? -- Suhail