From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6FfHG1nWfGDsPwEAgWs5BA (envelope-from ) for ; Mon, 19 Apr 2021 03:01:13 +0200 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 sNJWF1nWfGDGFAAAB5/wlQ (envelope-from ) for ; Mon, 19 Apr 2021 01:01:13 +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 DC1E11D49C for ; Mon, 19 Apr 2021 03:01:12 +0200 (CEST) Received: from localhost ([::1]:33676 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYIHk-0007SD-9v for larch@yhetil.org; Sun, 18 Apr 2021 21:01:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59582) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYIH7-0007P2-Ux for guix-devel@gnu.org; Sun, 18 Apr 2021 21:00:31 -0400 Received: from mx1.riseup.net ([198.252.153.129]:41398) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYIH4-0000hX-R5 for guix-devel@gnu.org; Sun, 18 Apr 2021 21:00:28 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4FNpQJ2gHlzDqh4 for ; Sun, 18 Apr 2021 18:00:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1618794024; bh=pzQvbzjcrDph9JvWE5hDczW3NCmxQkgEDQsm+jXe/lY=; h=Date:From:To:Subject:From; b=f6/m2k0f3hYmqncrwlWYAY/RGwQbW3NHSaVNseE98wF+ZtxmcZ9gcmejMr031w5Z+ 7ofpYnxhWzqUHL2RQyfG4RBD6rdu19GcYC/TRr/8qK0drvoeeo2eVwBzSIepfxB6Bl tLlCj8f2MtpTIn6WfKbICl/qrsrTCM//preVwd2g= X-Riseup-User-ID: A11AE4B49C061BE56D59E2FACB804732DF44D03DA964F41BFC099EA3E886603C Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4FNpQH4m2Hz5vkm for ; Sun, 18 Apr 2021 18:00:23 -0700 (PDT) Date: Sun, 18 Apr 2021 23:26:17 +0200 From: raingloom To: "guix-devel@gnu.org" Subject: Splitting up packages, targeting smaller/older devices Message-ID: <20210418232617.60b276f2@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-Spam_score_int: 3 X-Spam_score: 0.3 X-Spam_bar: / X-Spam_report: (0.3 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_FMBLA_NEWDOM=1.499, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 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=1618794073; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=pzQvbzjcrDph9JvWE5hDczW3NCmxQkgEDQsm+jXe/lY=; b=ZoNrdi+QgDuXXsf/Yu3/tr9dOVgdiHIzIHR0268Jr9zjvwI3T6PzPsHuhaUTVAmTlwUJj+ 4+AlT0Rw2AIGOnHy8qTsSh8xTfEFFwzLBPANNR6SXtiTHInuwwdodyfD+1yUTKkY72Svh3 KAaFVl9nhRARw2FlDtro6EdJMF3uBOC2p7ghnm0xLLv6Pmv4kKAFTcNV9F2aQGvYtfSOXp BUOzEd+cbChgp2NykyRehZxuchHDmCSh7Ogi/zOfjgwFbWkjwwX9+sR3nUsA/0rw8OgOCu 7kt55XZ6v+FrohOpCwZUS+JXdyCw2LOablTzknTMjzKAPokye4lYCAVvOGHtkg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618794073; a=rsa-sha256; cv=none; b=aaNso9DkvOuvPbwfq51hp2r8YOhJ9PQ8fCh0NbuYt3UH560x3TdOBXR2i+FWrgjf6rWBDZ JtHBRyrPaHpU8oTEr6ca6+EyTweYyBnH5v+Upkt65g4hJ7YUkdApBWM8cbHXRcixI956mS orklnRlHqOSloiYl31NFAfbncxl+1zGQZQYMfMZGnTwYWekGDMZbJo10JPjUxogLKcYHbt dOs4bi1UGANtCNZ8ihTbV94lIAv0JwQ1AN45BPL6dwRjJHrM6haHSOCbcZ8mk3bfP0DlVK 63V5DNyDQ+mvjQ0smcRTW4y1WNRFxc4CudINHPIhL6GQ/qBcYnE0ry5TJ7fnmQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b="f6/m2k0f"; dmarc=pass (policy=none) header.from=riseup.net; 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.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b="f6/m2k0f"; dmarc=pass (policy=none) header.from=riseup.net; 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: DC1E11D49C X-Spam-Score: -3.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: +/TmjjAobrNk I've been pondering installing Guix onto some of my devices that have tiny amounts of storage. I have an old desktop PC that had an old version of Uhu Linux on it on a mere 4 gigs of HDD space. Full graphical desktop, office suite, etc. A minimal Guix install can just barely fit on it, but can't upgrade itself. I think it could be possible. One thing I'd like to try is to split up packages into more outputs, kinda like what Alpine does. This isn't really technically challenging, it's mostly just busywork and adding some default build phases and maybe some more default outputs. But it is a pretty big change, so, is this something that could eventually be upstreamed? I'm not planning on starting work on this any time soon, so there's no rush. Just testing the water for now. So, is this something that would be welcome in Guix? Do we also want to target even smaller devices, like OpenWRT supported routers? NixWRT already exists, so it's not like this is unexplored territory. PostmarketOS supported devices could be supported too in the future, storage is also at a premium on those, not to mention flash memory wear from needless writes.