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 2KU4Oqr2Z2DdigAAgWs5BA (envelope-from ) for ; Sat, 03 Apr 2021 07:01:30 +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 QLF6NKr2Z2AhLgAAB5/wlQ (envelope-from ) for ; Sat, 03 Apr 2021 05:01:30 +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 2C2B910B73 for ; Sat, 3 Apr 2021 07:01:30 +0200 (CEST) Received: from localhost ([::1]:46750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lSYPY-0007AH-EK for larch@yhetil.org; Sat, 03 Apr 2021 01:01:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSYP8-000790-M7 for help-guix@gnu.org; Sat, 03 Apr 2021 01:01:02 -0400 Received: from smtp-out-4.mxes.net ([198.205.123.69]:65167) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSYP4-0007K9-93 for help-guix@gnu.org; Sat, 03 Apr 2021 01:01:02 -0400 Received: from Customer-MUA (mua.mxes.net [10.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 4FC4W65rnrz3c8v for ; Sat, 3 Apr 2021 01:00:50 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mxes.net; s=mta; t=1617426051; bh=DlzTePie7POF0DKRmdgLaqQK35n9sfZ0nIkCkhGHZ0I=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=IKPVHtb4dgLHphXw4o+ObS7VVHsd7gy/wAB0vv8rJmXkQsEvfP38rA2Q7n1xw/DQC VNQ0HDxWeTk8FoFXiMM28w0eITuVl927JM/gB8RHbnBsTZImzpXpa3FGmpblybdr8g myoay4DWTzk6EO5/EELFfWwkRKH3Gk/lvyt50qSU= From: Timmy Douglas To: help-guix@gnu.org Subject: Guix build system customization Date: Fri, 02 Apr 2021 22:00:49 -0700 Message-ID: <87lfa0j726.fsf@timmydouglas.com> MIME-Version: 1.0 Content-Type: text/plain X-Sent-To: Received-SPF: pass client-ip=198.205.123.69; envelope-from=mail+JA=6b0b1cf1@timmydouglas.com; helo=smtp-out-4.mxes.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617426090; 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=DlzTePie7POF0DKRmdgLaqQK35n9sfZ0nIkCkhGHZ0I=; b=FTJ37el8tOGaiAUB4qvBuRNMxqca45cszC5V6bwyp6TXFXb9MxMQfXl0xaUMuak9dCTofA jFXfceNfDy9UvDSED/3kI3H6W2Iotmr/WoEzOt5oKClF2TrpWLmA2Coi+T5jsSIJyZTMO1 F5L1f6rvJ0xuTaiCR+RCOmbQEsYUxXdLHsTnyOL1YMLJ6G2QKl+A4AKvWjanbBG7GTbQk9 Y1gVrMdTWc6vRbgnVEV0F49MZbfRrPaYmpgk+3RbhAl8FJK+W1Wl36Cmxk4VXl0w/OKJqQ 5OF86TRqZpNK/wbx+G8Usvh/D/p99CjTDR5c9+BGgi5J7J/jpZyYkD5fJF72IQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617426090; a=rsa-sha256; cv=none; b=baDGIRh4J6nPdDlkK1dQ/8aBlUKlrF7qkQ3w76z7WkFPh+XCGTQu/DFZytVB+xfNXUid2d bmdYjf0WpNeIX5zZKcpi7sTYGcwQtPuNq+munRCt/RiPCOXjxKYioXifLWe4autHzxQhBP jp8JaG2qBoxx6ji/sY4zLC3W4RKZ9lhMWAdbfHJjjuokaP+Sn86lu4NqKMnoc3tCBSQJmv A1lMoKx6Eo9dPJCGd3yu83Wti5CrDnGSI18bHkWB1+qh/eh2Eqywuvmos5fuzPmid2FR3H ioagTLwLa+skCYxs6kkWq63dEYLFBDB3nnKge/MQAR6/cmOmn23SBX7+8vjtaQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=mxes.net header.s=mta header.b=IKPVHtb4; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=timmydouglas.com (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.53 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=mxes.net header.s=mta header.b=IKPVHtb4; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=timmydouglas.com (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 2C2B910B73 X-Spam-Score: -2.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: Th6yrqm/RGlA I was wondering if there were any guides for making large customizations to the Guix build systems. For example, one might want to set up custom CFLAGS for gnu-build-system, change the default value for stripping binaries, etc. This would disable substitutions and void the warranty, but might be fun for people that make a hobby out of system crafting... I tried changing the default value for #:strip-binaries for example, but hit &derivation-missing-output-error (output: "debug") when doing guix pull on my forked repo. The error makes sense given the context of what I did, but it doesn't help me find my mistake. I thought it might be worth seeing if anyone has spent more time looking at this and/or documenting it. I wasn't able to find much with the search terms I tried. Thanks!