From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cM42JjmBA2RFbwAAbAwnHQ (envelope-from ) for ; Sat, 04 Mar 2023 18:34:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6JA9JjmBA2T0gQEAauVa8A (envelope-from ) for ; Sat, 04 Mar 2023 18:34:49 +0100 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 56B3319ECB for ; Sat, 4 Mar 2023 18:34:49 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=MxxctV0z; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677951289; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YkHpD6R1+imA39nGCnnbFDwmNuZA4wqPmo0ynTxf9VA=; b=RH57mmV5FrqLmQl6MUnq54okliF/X8EEz5O4A9qIhysPJZja+NM7Gt3iBLxxGywYyVjDXu iqFhwy++KAQzUJytdJUVpRFWC1Q9Nvz5BuEZ2XMNFQ6uR8kT/A+1KwzInx0tDMIqNCWdbF cM0lrzNS525UqcUIySHfGta9gf2D2UWBRMuiDinrmPj3QwLZGkTZhitXpFq5/7FNP/f/0k G5STAk8nyiO5jXF7q8V1fu3PnZJUFqfm3MzEJRqCClhVM6Pf9I870K8XfV0Q8Q0d1dVvcv IjFeBspjUSgisygpwybWjZyLJsbCRtshFhIIyxDIp7nD84QRZUYnygD1YZoC7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=MxxctV0z; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677951289; a=rsa-sha256; cv=none; b=BTeo8/Muy4DGpR4TZoG9j1SHrdSH97xPgzXskd4DeE0IxK7Gvg6ORORj836VnGDA7VtVmR ghixg2SUTvBT+6mdtXxMYfGyHtbmLGn0sgp5DBn/qPPoK9OITTJehBra6ob2I0hhZKmz21 hZlATSS0woBfUYfhJ9bmAjQ7/GZiu+7MktcdPxq9DeAZ/ABuSWEqmhuScS2tNKOW5WNv8I 8WcytoyQg0rUDv1DPQjy3LSc3kZeUMM8NJWsGTEGUMR32Y5JgFVFMse1qhcBsyvlT3Vciy /NaKSdIFjnYH6I5gY6WHaxxQQhEQdwLnK1KXs2qQ1qWW6MgE18CbbjcMBIDk6w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYVm2-00028h-T6; Sat, 04 Mar 2023 12:34:22 -0500 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 1pYVm0-00028U-MC for help-guix@gnu.org; Sat, 04 Mar 2023 12:34:20 -0500 Received: from mail-vs1-xe34.google.com ([2607:f8b0:4864:20::e34]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pYVly-00042T-Cl for help-guix@gnu.org; Sat, 04 Mar 2023 12:34:20 -0500 Received: by mail-vs1-xe34.google.com with SMTP id x14so5333413vso.9 for ; Sat, 04 Mar 2023 09:34:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677951256; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=dbk7xlY66XzdZp8LkNGCTGD9R36pp6xeoNT2R+/u230=; b=MxxctV0z7gcuxGkFSumPyUoNWH+q2Kz2KS0cJ2xNEvp1L1WkW2/a/qF5LhzR16u0ft qhzoAh03QGZZ9gme0qT3Zr5+Q1fw84HX1lDyHat1KzWKVxz+h+5Hf/qw//Ac1n/qPIpQ CftVnOsxMTIQprvuEjNXlKCM8eJn/n2+HB5CadaI0elHVe2YtySbpv35etYwXgaj2gva 5rXSU7/UQM8u528llFQd1HXQJ4BjclTYoNyCZo9KEEyTRkB71A4cBvneZne3fjtgVern xgkTB9vSboqXMtKJIlasYqKmEmSE+sSKdGF65YvRtNga5IcuqXy3JIj3voKrSSpyNIFv Jm3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677951256; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=dbk7xlY66XzdZp8LkNGCTGD9R36pp6xeoNT2R+/u230=; b=4DS7YgKy96ijYIp/7dT+KplscI2FKzNR2l3V8F8jr96X1UcFFLrLKAILBUO0ClRAjh R74ObdO4sqpzVr2rtlhXGb++gVgUxTZR8TI2NWMamYwojV0Q9QYualQFj6ilumDjlWQY 9K/L7QIetz6bk0/D4uH2Ngct35uqaPS1r9sLcynQmifuIsG+ShkyuQizjUBR4u2mFZqW 9OHlt02GPFeFBv/Jf9mWzgoieq2cLZVYoYq/Tv96sr9xuLsANQt8fPplXjT3sFVTBRg4 qwDhKWhj3rkadgkSlN2p0T07YsFEs/LhCuQ2Ej0VQgkVYqK95s7xiho5xJKxBNcrM/33 tBqA== X-Gm-Message-State: AO0yUKVs4Kg22Ou1aJnrHHhWuJ/t2gOfvI6zs2A1qHs2q6c46qD1BtNj iL4quC/TUEThqtNafZeIrkI4qgKgtAQ2bxdLNpwFA/2dGtaSEw== X-Google-Smtp-Source: AK7set8ZVa4flnUQxLEwYKlKRDq2Goh33ubyjth3TNXoO+mB2uxz5mgUPA5/EhevZH/T34JXr2KWxOqLy2ZJO7rvct0= X-Received: by 2002:a67:ec4f:0:b0:402:9b84:1be4 with SMTP id z15-20020a67ec4f000000b004029b841be4mr3756919vso.6.1677951256149; Sat, 04 Mar 2023 09:34:16 -0800 (PST) MIME-Version: 1.0 From: Rodrigo Morales Date: Sat, 4 Mar 2023 12:32:08 -0500 Message-ID: Subject: Newbie question: Why my system has so many shells.scm files? To: help-guix@gnu.org Received-SPF: pass client-ip=2607:f8b0:4864:20::e34; envelope-from=moralesrodrigo1100@gmail.com; helo=mail-vs1-xe34.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Spam-Score: -1.70 X-Spam-Score: -1.70 X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: 56B3319ECB 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-Country: US X-Migadu-Flow: FLOW_IN X-TUID: sP9b87+G3lJ1 Table of Contents _________________ 1. The context 2. The question 1 The context ============= Newbie user here. I'm curious about how `home-bash-configuration' works, so I wanted to jump to its definition. I know that one way of doing this is cloning the Guix repository and executing grep to search that string. In fact, I did this and found it in `gnu/home/services/shells.scm'. Using common sense, I knew that that file also existed in my system, so I was wondering how I could have accomplished the same objective without having to download the Git repository, just in case some day I don't have internet connection ,---- | locate shells.scm | grep '/gnu/store' `---- ,---- | /gnu/store/0ywmx3mj3y644mas5v6c8a0h59xz6kid-guix-3809aa0/gnu/home/services/shells.scm | /gnu/store/0ywmx3mj3y644mas5v6c8a0h59xz6kid-guix-3809aa0/gnu/packages/shells.scm | /gnu/store/5kj8lyybjrdl7xd0fx9g9vzkz8sklqsy-guix-1.4.0/share/guile/site/3.0/gnu/home/services/shells.scm | /gnu/store/5kj8lyybjrdl7xd0fx9g9vzkz8sklqsy-guix-1.4.0/share/guile/site/3.0/gnu/packages/shells.scm | /gnu/store/7w4ln207ylgaqbj6crb9x234kypb1in4-guix-b12ee1ee5-modules/share/guile/site/3.0/gnu/packages/shells.scm | /gnu/store/8l8z4i57xwcnjnh66773g8sgf19lrxcq-guix-packages-base-source/gnu/packages/shells.scm | /gnu/store/9nvx97hr8kkr26gzwni2fblfn0yq0xjw-guix-1.4.0rc2/share/guile/site/3.0/gnu/home/services/shells.scm | /gnu/store/9nvx97hr8kkr26gzwni2fblfn0yq0xjw-guix-1.4.0rc2/share/guile/site/3.0/gnu/packages/shells.scm | /gnu/store/b6mhxbzibqv7v66frjlqg21s38pvplh5-guix-b12ee1e/gnu/home/services/shells.scm | /gnu/store/b6mhxbzibqv7v66frjlqg21s38pvplh5-guix-b12ee1e/gnu/packages/shells.scm | /gnu/store/b8kb2yrrxpqgvviryx5vd4v8b66wdx12-guix-3809aa01a-modules/share/guile/site/3.0/gnu/packages/shells.scm | /gnu/store/bn45df51vizkrqwkca3g177gq8d19spx-guix-1.4.0-3.d5fece6/share/guile/site/3.0/gnu/home/services/shells.scm | /gnu/store/bn45df51vizkrqwkca3g177gq8d19spx-guix-1.4.0-3.d5fece6/share/guile/site/3.0/gnu/packages/shells.scm | /gnu/store/dgjgpx2gflf1lqr3jipr6jclkmn7qh8j-guix-1.4.0rc2/share/guile/site/3.0/gnu/home/services/shells.scm | /gnu/store/dgjgpx2gflf1lqr3jipr6jclkmn7qh8j-guix-1.4.0rc2/share/guile/site/3.0/gnu/packages/shells.scm | /gnu/store/faxxz91yljsfpbjwx5l35ipnlkpa4khl-guix-1.4.0-3.d5fece6/share/guile/site/3.0/gnu/home/services/shells.scm | /gnu/store/faxxz91yljsfpbjwx5l35ipnlkpa4khl-guix-1.4.0-3.d5fece6/share/guile/site/3.0/gnu/packages/shells.scm | /gnu/store/prm3kzg3rm0klf4zp6bdxpx9iwjc0dsb-guix-home-source/gnu/home/services/shells.scm | /gnu/store/xzaa4wgw8l6lmfi0zcp4m74ihkl0nwh4-guix-packages-base-source/gnu/packages/shells.scm | /home/rdrg/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq/gnu/home/services/shells.scm | /home/rdrg/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq/gnu/packages/shells.scm `---- I also noticed that some of the found files have the same content (see output of `sha512sum' below) ,---- | locate shadow.scm | sudo xargs sha512sum `---- ,---- | 230645de4bc3a4f3c177d0e92e432d7cb554acd0e0b30efb02330c749e4f4ae7cef172d4b20388d8b52343396b195d9ebc8838a3027f264035126d40508779c2 /gnu/store/b6mhxbzibqv7v66frjlqg21s38pvplh5-guix-b12ee1e/gnu/home/services/shells.scm | 230645de4bc3a4f3c177d0e92e432d7cb554acd0e0b30efb02330c749e4f4ae7cef172d4b20388d8b52343396b195d9ebc8838a3027f264035126d40508779c2 /gnu/store/bn45df51vizkrqwkca3g177gq8d19spx-guix-1.4.0-3.d5fece6/share/guile/site/3.0/gnu/home/services/shells.scm | 230645de4bc3a4f3c177d0e92e432d7cb554acd0e0b30efb02330c749e4f4ae7cef172d4b20388d8b52343396b195d9ebc8838a3027f264035126d40508779c2 /gnu/store/faxxz91yljsfpbjwx5l35ipnlkpa4khl-guix-1.4.0-3.d5fece6/share/guile/site/3.0/gnu/home/services/shells.scm | 230645de4bc3a4f3c177d0e92e432d7cb554acd0e0b30efb02330c749e4f4ae7cef172d4b20388d8b52343396b195d9ebc8838a3027f264035126d40508779c2 /gnu/store/prm3kzg3rm0klf4zp6bdxpx9iwjc0dsb-guix-home-source/gnu/home/services/shells.scm | 230645de4bc3a4f3c177d0e92e432d7cb554acd0e0b30efb02330c749e4f4ae7cef172d4b20388d8b52343396b195d9ebc8838a3027f264035126d40508779c2 /home/rdrg/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq/gnu/home/services/shells.scm | 9976184073a8963e93744a5316c6566ae3580762bcbf8af72f88cccc09552ece083cbf30bb0350f06503b1ed55feb93651183d39e803bbfe16c6d466ee883f4d /gnu/store/bn45df51vizkrqwkca3g177gq8d19spx-guix-1.4.0-3.d5fece6/share/guile/site/3.0/gnu/packages/shells.scm | 9976184073a8963e93744a5316c6566ae3580762bcbf8af72f88cccc09552ece083cbf30bb0350f06503b1ed55feb93651183d39e803bbfe16c6d466ee883f4d /gnu/store/faxxz91yljsfpbjwx5l35ipnlkpa4khl-guix-1.4.0-3.d5fece6/share/guile/site/3.0/gnu/packages/shells.scm | a25d73685f93abfb848b9aa25f08d416b294a9c697bdb7293d30a31664983dab40e6c1cecad9662a10b5a3704c9c316e08f21717c786fe284f250ae2e6b1d769 /gnu/store/5kj8lyybjrdl7xd0fx9g9vzkz8sklqsy-guix-1.4.0/share/guile/site/3.0/gnu/packages/shells.scm | a25d73685f93abfb848b9aa25f08d416b294a9c697bdb7293d30a31664983dab40e6c1cecad9662a10b5a3704c9c316e08f21717c786fe284f250ae2e6b1d769 /gnu/store/9nvx97hr8kkr26gzwni2fblfn0yq0xjw-guix-1.4.0rc2/share/guile/site/3.0/gnu/packages/shells.scm | a25d73685f93abfb848b9aa25f08d416b294a9c697bdb7293d30a31664983dab40e6c1cecad9662a10b5a3704c9c316e08f21717c786fe284f250ae2e6b1d769 /gnu/store/dgjgpx2gflf1lqr3jipr6jclkmn7qh8j-guix-1.4.0rc2/share/guile/site/3.0/gnu/packages/shells.scm | d9bfd1d416e592a6fb7bf07c71a9d84f744b5b04f54adb20de3450e923e255e03e1c4a832e7ec5b74b3a9e78d75ffe99531fb969acac1899a001040ac176bec2 /gnu/store/0ywmx3mj3y644mas5v6c8a0h59xz6kid-guix-3809aa0/gnu/packages/shells.scm | d9bfd1d416e592a6fb7bf07c71a9d84f744b5b04f54adb20de3450e923e255e03e1c4a832e7ec5b74b3a9e78d75ffe99531fb969acac1899a001040ac176bec2 /gnu/store/7w4ln207ylgaqbj6crb9x234kypb1in4-guix-b12ee1ee5-modules/share/guile/site/3.0/gnu/packages/shells.scm | d9bfd1d416e592a6fb7bf07c71a9d84f744b5b04f54adb20de3450e923e255e03e1c4a832e7ec5b74b3a9e78d75ffe99531fb969acac1899a001040ac176bec2 /gnu/store/8l8z4i57xwcnjnh66773g8sgf19lrxcq-guix-packages-base-source/gnu/packages/shells.scm | d9bfd1d416e592a6fb7bf07c71a9d84f744b5b04f54adb20de3450e923e255e03e1c4a832e7ec5b74b3a9e78d75ffe99531fb969acac1899a001040ac176bec2 /gnu/store/b6mhxbzibqv7v66frjlqg21s38pvplh5-guix-b12ee1e/gnu/packages/shells.scm | d9bfd1d416e592a6fb7bf07c71a9d84f744b5b04f54adb20de3450e923e255e03e1c4a832e7ec5b74b3a9e78d75ffe99531fb969acac1899a001040ac176bec2 /gnu/store/b8kb2yrrxpqgvviryx5vd4v8b66wdx12-guix-3809aa01a-modules/share/guile/site/3.0/gnu/packages/shells.scm | d9bfd1d416e592a6fb7bf07c71a9d84f744b5b04f54adb20de3450e923e255e03e1c4a832e7ec5b74b3a9e78d75ffe99531fb969acac1899a001040ac176bec2 /gnu/store/xzaa4wgw8l6lmfi0zcp4m74ihkl0nwh4-guix-packages-base-source/gnu/packages/shells.scm | d9bfd1d416e592a6fb7bf07c71a9d84f744b5b04f54adb20de3450e923e255e03e1c4a832e7ec5b74b3a9e78d75ffe99531fb969acac1899a001040ac176bec2 /home/rdrg/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq/gnu/packages/shells.scm | e6aef84a45657e0f1b8d386801c311fdbea672d9d7d8d11b4c5a2ec60e29a9d4226d31b23cabc32156ac6cc6d0f335e3fb8be9f448835710978f47b5be6e84cf /gnu/store/5kj8lyybjrdl7xd0fx9g9vzkz8sklqsy-guix-1.4.0/share/guile/site/3.0/gnu/home/services/shells.scm | e6aef84a45657e0f1b8d386801c311fdbea672d9d7d8d11b4c5a2ec60e29a9d4226d31b23cabc32156ac6cc6d0f335e3fb8be9f448835710978f47b5be6e84cf /gnu/store/9nvx97hr8kkr26gzwni2fblfn0yq0xjw-guix-1.4.0rc2/share/guile/site/3.0/gnu/home/services/shells.scm | e6aef84a45657e0f1b8d386801c311fdbea672d9d7d8d11b4c5a2ec60e29a9d4226d31b23cabc32156ac6cc6d0f335e3fb8be9f448835710978f47b5be6e84cf /gnu/store/dgjgpx2gflf1lqr3jipr6jclkmn7qh8j-guix-1.4.0rc2/share/guile/site/3.0/gnu/home/services/shells.scm `---- 2 The question ============== How to know which of these files is currently being used by my system? I'm sure not all of them are being used. I'm somewhat familiar with how generations work, but in other words, I'd like to know how to determine which of these files is the one that is being used by the current generation.