From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SAqQGG0xoGGGBQAAgWs5BA (envelope-from ) for ; Fri, 26 Nov 2021 01:59:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OCQ1FG0xoGHyDwAA1q6Kng (envelope-from ) for ; Fri, 26 Nov 2021 00:59:25 +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 B70F42D572 for ; Fri, 26 Nov 2021 01:59:24 +0100 (CET) Received: from localhost ([::1]:59510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqPaF-0006OY-SH for larch@yhetil.org; Thu, 25 Nov 2021 19:59:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53402) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqPa3-0006OQ-KN for guix-devel@gnu.org; Thu, 25 Nov 2021 19:59:11 -0500 Received: from [2a00:1450:4864:20::32a] (port=43678 helo=mail-wm1-x32a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mqPa1-0003Np-GF for guix-devel@gnu.org; Thu, 25 Nov 2021 19:59:11 -0500 Received: by mail-wm1-x32a.google.com with SMTP id o19-20020a1c7513000000b0033a93202467so5751905wmc.2 for ; Thu, 25 Nov 2021 16:59:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=10hNk14Wdo+Au8bY/PckksYaZdo58j0wKbbzTXNlAvU=; b=WC1HDvHgZHy7Z/l13QP1PB5xB+0vnnIwyI4BcqVToQNfChpK7NApFXhJ48KYBdUiKr HclPFPC5g8swziUlBioZpY+prQA3nsTNVB1beo3FHa1nVPRz9XMAKwDWAS7IVhVDTlZ5 D37E0U55qoBN/+S1YTSZULSxotKIlivqa+eQb+VMTLScpVp0LeX7nnqqv0p4QwHD7psZ 4BF7u7kq5ZswZuvGV6nOwZGhRpRUkCUlc8DCbwRW/IX4l+QX8g4WV+V8ZyW04CVyo8Lk wga/vPEF8CnbD1sOSNKaMMJng8CvJPWZYNfeEQ1rN4McXeAExxn3UImbadJBlqXxurs6 EHIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=10hNk14Wdo+Au8bY/PckksYaZdo58j0wKbbzTXNlAvU=; b=a2EBizE4Yx6R7J9fAXUvNeQzgudILZ4UZ+dsYchN2KdjGqnMehy+ISz8esixilEQO2 fK/5l5I9XYD1QHyqE9o6SRCp603KxCvlgP8fykU4d19cV/+FYQICE0JuxsWCuJVTP+sz nw0GTvmHy6lZFdyDfEFEU6F5nI+TFxX7cfvC/NsQ9fLjeYvAhcr/3VlgzyJiKZExBCSY 4eyHY4G8rP/tFZem6LS4edx3yhirTtwxUNjxkPHnJC3GpzmxlEbVJb66sbnf8GgJ+Q1t smyIONXC/pkN7tVn0BVsnE+5Wyn6f/LsjEFj2KvyP+yC4tB2p+7dLUMX2jXqGLhhd2nl oCBg== X-Gm-Message-State: AOAM531m3TYdM5qCRubgLEhX99ChEZPcxCPoOthyHIpi1Ex54i1Q6jeH K/SgV/vPdvhtcshxnUNEanxzhFuRKbg= X-Google-Smtp-Source: ABdhPJztuRw0pnC+dZ2Vytwo4NPKzOVn6QjxC5YBTxtHe2MoCK41TXQgPQywZPVa8GsCEtj9DDWwyQ== X-Received: by 2002:a1c:2047:: with SMTP id g68mr12520325wmg.181.1637888346980; Thu, 25 Nov 2021 16:59:06 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id z5sm12234573wmp.26.2021.11.25.16.59.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Nov 2021 16:59:06 -0800 (PST) From: zimoun To: Leo Famulari , guix-devel@gnu.org Subject: Re: Derivations differ between computers? In-Reply-To: References: Date: Fri, 26 Nov 2021 01:49:00 +0100 Message-ID: <86lf1bspvn.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::32a (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32a.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, WEIRD_QUOTING=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637888364; h=from:from:sender:sender: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:dkim-signature; bh=10hNk14Wdo+Au8bY/PckksYaZdo58j0wKbbzTXNlAvU=; b=DNbKWmGcyoAeUQ3n5aTuszBu18gFwDEW3YOrR+8HqB83KaHPgVQ1dnnU3d8sAeCiqTMyhM sqvB/49CcqX+gFxqx42FN55uz6HiNCeUFfNBcpTrfz/qBqrUF8KuZCFKemepjqXQroL3a2 wO3hrDd+xRs8akQv9I9La3x/HLsZi7Yb0GnGJKZ9DHRkVoBRl/HlCH079o0iMJZAC8mW1+ llL68xLyPjPGT28zu7H6hnV0r9eYg0yzORg+v7gnX40jEpNvLwxbAj9im/mndgAupj8+TN /fMnNeuYcQKL5ERocMUx+sUuMLJvUPWc1yKhQ+DSL8GL0FN44i/pHsRyPWm7NA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637888364; a=rsa-sha256; cv=none; b=mqw4Sh0fTzGZ1zRDpBybY4AXUTK3SWMVfBOzyVKHD3HbRelrFmQPv4f8K72yICg/7Cpw+8 ULO+OkdKT+Fx1w87/iDDdRcTLa8auMcxz9FSNYODgQJxfeg8benN09/Qrvcb0E4Np504H/ eQUuLjewGjGRlJLzsMSb337CwfO/aUxqP4XvoH41Q/rGPsW85HG0ulUGd+oxn+sfUWKf6G DnAG7/fG6wfIHjvyb9F2C6uX5tiu0D6fdCLePJv+RM80CaRoUnLHK6SE2Yx13cRA7+lE5r BAfn7Hav2CI8/fcph9HVH9gnteOSHZv/1nTiH1yRZBQn6INOW3M34mw8qPjDLg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=WC1HDvHg; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -3.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=WC1HDvHg; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: B70F42D572 X-Spam-Score: -3.10 X-Migadu-Scanner: scn1.migadu.com X-TUID: e4nQxyzru3xU Hi Leo, On Wed, 24 Nov 2021 at 22:02, Leo Famulari wrote: > It's caused by $GUIX_DOWNLOAD_FALLBACK_TEST=none Oh, indeed! Nothing weird in fact. :-) The derivations are different (the way to compute) but the outputs are the same; recursively. Fun! :-) Thanks for this non obvious at first (at least for me) use case. --8<---------------cut here---------------start------------->8--- $ guix build --no-grafts hello -d /gnu/store/c1qicg17ygn1a0biq0q4mkprzy4p2x74-hello-2.10.drv >> /gnu/store/c1qicg17ygn1a0biq0q4mkprzy4p2x74-hello-2.10.drv Derive ([("out","/gnu/store/a462kby1q51ndvxdv3b6p0rsixxrgx1h-hello-2.10","","")] ,[("/gnu/store/0vh2rcmhyzk9j5y5bdzywsd8zd9kjwm1-coreutils-8.32.drv",["out"]) [...] ,("/gnu/store/78ww8sqfpxavnkjgwafs7xr2zwzza3mc-hello-2.10.tar.gz.drv",["out"]) [...] >> /gnu/store/78ww8sqfpxavnkjgwafs7xr2zwzza3mc-hello-2.10.tar.gz.drv Derive ([("out","/gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz","sha256","31e066137a962676e89f69d1b65382de95a7ef7d914b8cb956f41ea72e0f516b")] ,[] ,["/gnu/store/0mxnx8l4fgigvd7gakwdk6hc6im4wnai-disarchive-mirrors","/gnu/store/hdprrnsaa40vl1k63hnq7l1f012jzq2y-mirrors","/gnu/store/lv7dc09895a2d7cn0m6ysrdlgkhx5ld8-content-addressed-mirrors"] ,"x86_64-linux","builtin:download",[] ,[("content-addressed-mirrors","/gnu/store/lv7dc09895a2d7cn0m6ysrdlgkhx5ld8-content-addressed-mirrors") ,("disarchive-mirrors","/gnu/store/0mxnx8l4fgigvd7gakwdk6hc6im4wnai-disarchive-mirrors") ,("impureEnvVars","http_proxy https_proxy LC_ALL LC_MESSAGES LANG COLUMNS") ,("mirrors","/gnu/store/hdprrnsaa40vl1k63hnq7l1f012jzq2y-mirrors") ,("out","/gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz") ,("preferLocalBuild","1") ,("url","\"mirror://gnu/hello/hello-2.10.tar.gz\"")]) >> /gnu/store/0vh2rcmhyzk9j5y5bdzywsd8zd9kjwm1-coreutils-8.32.drv Derive ([("out","/gnu/store/57xj5gcy1jbl9ai2lnrqnpr0dald9i65-coreutils-8.32","","")] ,[("/gnu/store/3bwkjkymipgm1z0pvqjcl0y384skpycb-gcc-7.5.0.drv",["out"]) [...] --8<---------------cut here---------------end--------------->8--- vs --8<---------------cut here---------------start------------->8--- $ GUIX_DOWNLOAD_FALLBACK_TEST=none guix build --no-grafts hello -d /gnu/store/jq89sx909ibywm6llcmlfd7yj1ryhwci-hello-2.10.drv >> /gnu/store/jq89sx909ibywm6llcmlfd7yj1ryhwci-hello-2.10.drv Derive ([("out","/gnu/store/a462kby1q51ndvxdv3b6p0rsixxrgx1h-hello-2.10","","")] [...] ,("/gnu/store/rm8cfngfyb4w7yiqavyw62kp4rmhyd6k-coreutils-8.32.drv",["out"]) [...] ,("/gnu/store/xmq151lsv0p5q435q8l3f9yi8ddrxs00-hello-2.10.tar.gz.drv",["out"]) [...] >> /gnu/store/xmq151lsv0p5q435q8l3f9yi8ddrxs00-hello-2.10.tar.gz.drv Derive ([("out","/gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz","sha256","31e066137a962676e89f69d1b65382de95a7ef7d914b8cb956f41ea72e0f516b")] ,[] ,["/gnu/store/3q889p5zj9kdnl7wfs8dah8wzxvq6j8j-no-content-addressed-mirrors","/gnu/store/chgbsnxxi0032ikjgwi14asmkm792yla-no-disarchive-mirrors","/gnu/store/hdprrnsaa40vl1k63hnq7l1f012jzq2y-mirrors"] ,"x86_64-linux","builtin:download",[] ,[("content-addressed-mirrors","/gnu/store/3q889p5zj9kdnl7wfs8dah8wzxvq6j8j-no-content-addressed-mirrors") ,("disarchive-mirrors","/gnu/store/chgbsnxxi0032ikjgwi14asmkm792yla-no-disarchive-mirrors") ,("impureEnvVars","http_proxy https_proxy LC_ALL LC_MESSAGES LANG COLUMNS") ,("mirrors","/gnu/store/hdprrnsaa40vl1k63hnq7l1f012jzq2y-mirrors") ,("out","/gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz") ,("preferLocalBuild","1") ,("url","\"mirror://gnu/hello/hello-2.10.tar.gz\"")]) >> /gnu/store/rm8cfngfyb4w7yiqavyw62kp4rmhyd6k-coreutils-8.32.drv Derive ([("out","/gnu/store/57xj5gcy1jbl9ai2lnrqnpr0dald9i65-coreutils-8.32","","")] ,[("/gnu/store/05ddysy67wadk9n726vs45bg6g1s36xl-gawk-boot0-2.7.6.drv",["out"]) [...] --8<---------------cut here---------------end--------------->8--- Cheers, simon