From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id OGwWLErCCmZuMQAAe85BDQ:P1 (envelope-from ) for ; Mon, 01 Apr 2024 16:18:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id OGwWLErCCmZuMQAAe85BDQ (envelope-from ) for ; Mon, 01 Apr 2024 16:18:50 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=greghogan-com.20230601.gappssmtp.com header.s=20230601 header.b=OGhCqizZ; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711981130; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=mcCcqLkalBKQn9BwZKYI1ue7HoxQiAGrGcY3AHc7wHs=; b=nGd8hnqPCXNOcf+m6d8C9YbrccJ7ZLaz39eLTo6MVR8muZgPLhpFkOICpxFWuiZNJqmoxG z5x4OA/TjjiZBopEaEbBH8yiQqR/U/0fN8PnNmmCuxInvBl+LBchCedpQhzZUpTH1cAwFN nA6EsQFsZcbfSxVrhchbpy1mc407EsBrn5iPQOsl2rmIivFsoGrGb9k8ch5XTnu5N6bseq J9MFXzo4VI8CxJzN0+XP5LFNA5v19xC4k9CS51yyT97c6hM3K5TadMZpyqvcntCNaJ3QK0 9zEDGVK1l1jsa6XwC1+MMz1dro3W5rNSvh3T5fnwuSN9WHVFUd3c50NUlnj2lw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=greghogan-com.20230601.gappssmtp.com header.s=20230601 header.b=OGhCqizZ; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711981130; a=rsa-sha256; cv=none; b=ddeeyASKHcmQMF108JavGx3XlVD67Gcbl0ld9iBLVmpmrbqlD+spwWaQ7Lj7KgDllhZHdy 2ZY74WnwaIqtd18pDQHq+gch9CUmPUeOFC04c31Lkas0GIn3bci/fQphSUynncFrldXGIm NjYDap9IAmyXRASoJeAnas/93RIkD4tT3xGEv4S2Iz2YW33nV7C8IdaoLJMsGY3XAxW/Ii cdK6UGoFdnrcvyR5Qj/syOUswNHHCPJ4CDkgyk/wPAaiUSE+tNCqvHVAMb6aqU5brFAZ/v 5zqfKuI8LWDvHVqAyfIzGlM45lFtQi9QCpzNvjjEmk04jcVuW/qT7dbwOrWxcA== 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 27C3E21819 for ; Mon, 1 Apr 2024 16:18:50 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rrIUU-0002U4-On; Mon, 01 Apr 2024 10:18:26 -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 1rrIUR-0002TM-S7 for help-guix@gnu.org; Mon, 01 Apr 2024 10:18:24 -0400 Received: from mail-ot1-x32b.google.com ([2607:f8b0:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rrIUQ-0007Bd-7K for help-guix@gnu.org; Mon, 01 Apr 2024 10:18:23 -0400 Received: by mail-ot1-x32b.google.com with SMTP id 46e09a7af769-6e6d063e88bso3006003a34.3 for ; Mon, 01 Apr 2024 07:18:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20230601.gappssmtp.com; s=20230601; t=1711981100; x=1712585900; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=mcCcqLkalBKQn9BwZKYI1ue7HoxQiAGrGcY3AHc7wHs=; b=OGhCqizZOBHJ3kb3T9FBLbSzOGbeUHsOIe6jANVgSdtYFbpDVYJpn7aOyQV6cJjgbz zg3h8LHQQfXc6/Halp18NAOnVn5aI0TD8DM+MmJLYqS2OpULPz7V15I79NPtNs7aOd30 3p9ykXKZdweJskbUq1kkzEr6xTK5dQ7XRbAyfBM76Vkhyb48SjAZiSV+EfUvdFpKEWfE dbElGrpqDN5vV3kkTFxv6MUKeA/wh6gojwrPN8NJbF2qz1G0GsHvGgmSpGvQHzkmMlp1 GCyamVvpxWzfWbwRfVrhjNTtvTrIXtH5G7SK3ieELCuA7aT43PqXy5Gdq1mGsydbhz7i O8Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711981100; x=1712585900; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mcCcqLkalBKQn9BwZKYI1ue7HoxQiAGrGcY3AHc7wHs=; b=sFdfWLJj6pw9C/Z8iXrFPPefSPGY3Uo17D3Hz6uEMx87SKvyScEwM91JKWlrM9nSOC BmSM+gtlhqwnP3JfEXBa1dIya7F1RnYdJjmMuhsQm7hPYG6GSgjikXzv33O9W3o+hbmg IeRlhcJudC2WRZromnvB3L0r9PTRX743wSEm7V5PJrqSCiuvPUCXDpeUoqF9ZkfEs0V8 bVv4Sff+B9TS1JnYgp20UKpgGnKJriS9ksoqmL14AKn7PUiN2nKVlxZw7ti0eFRzUQSZ He0svYlcf/FvWCKDdTDhlPhyvC/I+ayUA77b6OtpXz1LX6MnD93Bi/Qdy5egn/YJO1jv 16Bg== X-Gm-Message-State: AOJu0YxrfwYbbTU9vQ5o6DGhO7Hmg3BjtS2RivKun9oJEfZ8okrhGJh3 dikg0k5X9GXmcCwka5Q8klmIeleVhJZZmvw2Py/2PRhe8poJjnoMVuH6vm4UKMt8h/xBJ0qO8z3 ElmAPNe2xd5t8P2yn10n2SKtPpfw8u0PIFzhajKLgi5UkJOpjzKw= X-Google-Smtp-Source: AGHT+IHZc4Awfj8mpP0y828mGRTk8ngk8D5uzSMA0lhVFUOCZTCNqoRtWeHjkqINQX6CBxLk0UG0i36ZjeByRmdNAR4= X-Received: by 2002:a9d:69d0:0:b0:6e6:8744:2253 with SMTP id v16-20020a9d69d0000000b006e687442253mr10450482oto.22.1711981099924; Mon, 01 Apr 2024 07:18:19 -0700 (PDT) MIME-Version: 1.0 References: <20653029-ef2c-49be-8a44-3608837e161d@terpmail.umd.edu> In-Reply-To: <20653029-ef2c-49be-8a44-3608837e161d@terpmail.umd.edu> From: Greg Hogan Date: Mon, 1 Apr 2024 10:18:09 -0400 Message-ID: Subject: Re: guix size with manifest? To: Spencer Skylar Chan Cc: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: none client-ip=2607:f8b0:4864:20::32b; envelope-from=code@greghogan.com; helo=mail-ot1-x32b.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 27C3E21819 X-Spam-Score: -6.51 X-Migadu-Spam-Score: -6.51 X-Migadu-Scanner: mx10.migadu.com X-TUID: ykaMiOaXN8Ao On Sun, Mar 31, 2024 at 5:39=E2=80=AFPM Spencer Skylar Chan wrote: > > Dear Guix, > > How do I run guix size with a manifest? Most guix shell commands use -m > for a manifest file, but guix size uses -m for map-file. Right now I'm us= ing > > grep -F \" manifest.scm | cut -d \" -f 2 | xargs guix size > > but this would only work for autogenerated manifests from > guix shell --export-manifest and not manifests written by hand. > > Thanks, > Skylar I am interested to hear other ideas, but if you install the manifest into a profile you can then size the list of packages from the profile (which should be equivalent to the obtaining the full listing from shell's export-manifest): $ guix package --profile=3Dprofile --list-installed \ | cut --fields=3D4 \ | xargs guix size \ | less --quit-if-one-screen Greg