From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ePBFEMemdmFjcAEAgWs5BA (envelope-from ) for ; Mon, 25 Oct 2021 14:44:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0AzMC8emdmFZIgAAbx9fmQ (envelope-from ) for ; Mon, 25 Oct 2021 12:44:55 +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 937341C4AC for ; Mon, 25 Oct 2021 14:44:54 +0200 (CEST) Received: from localhost ([::1]:52246 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mezLR-00038X-1b for larch@yhetil.org; Mon, 25 Oct 2021 08:44:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mez7w-0008RK-Fw for help-guix@gnu.org; Mon, 25 Oct 2021 08:30:58 -0400 Received: from mail-io1-xd2e.google.com ([2607:f8b0:4864:20::d2e]:43768) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mez7u-0001XN-9J for help-guix@gnu.org; Mon, 25 Oct 2021 08:30:55 -0400 Received: by mail-io1-xd2e.google.com with SMTP id y67so15172194iof.10 for ; Mon, 25 Oct 2021 05:30:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beadling-co-uk.20210112.gappssmtp.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=+/QCgKgzKMOCu0VGIrb59ZxfDhmuySXWRSSnomP0gO8=; b=REAFDnkxZLy9YHNapHj+Ar9kQ2u4KsL698wD2NrIh+e3R5p8UxqcOtn9H/83eOnQvN FP4XAaIa42EhMMBj6KcT1tAfusQmM/9HYaH+3iNSzC/ebKaKPH9TfgSEUdX1Ix+jezRT bs4TUC4+VJdAhF3z1L7zsftsb/KWCBISy27m8XpMkAj0LGVFmwokQEIOaLJ9GBIQSYuH qulihiLHaWCmt7+wZsOZ/6k0pRYdVqRhvqAiCyzjRVaDmCNMT1JT6kT0YAHulliGz5Hb ZMXNmoF+B/YSpn/u6xDVjbbLMry6rUuAtwdKdA0hRl6kU0VSVzr9gBsHzRYBBIEkpajc AAmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=+/QCgKgzKMOCu0VGIrb59ZxfDhmuySXWRSSnomP0gO8=; b=FdSwLZz6AHL5tlz98K0tTjROhBab4d0r7SorQnTOZEr+14TIu+9r+iotmM3Hb8GN5e eOIXzXc3yzThps0HFxYivo+Mxqh2NVIp6SjZG6rbXqhAnVIH2NtwIpUk281DZVPT+72L JRCwU7aSOV21nEltSqlsl1fxeMs+iHI3oN7EGyB+c7hlucY5E2BYmMT7rl06zy6wnfge H+eA4AoCefKOb1zbr7UehRVXMrp4FKeXl7Y7zQCrIvMX0DV7ortqIH1FB5s8zY5yofLh 9dioaA3AxTqLOoj1DdGZANjSz2cXltx5qThax74OOIBKZDrfBb0xKnLgkA/GE5LBpxyX Ifkg== X-Gm-Message-State: AOAM533FO4LmvQvsL3asFWNDxa2XTOsA3rN3FXbe4YHLH/hT8slsqIoi CtEvRDtuE8X7SNSQXmyLV/AsbRgIyNhRyGjwoXaKCxNyyj0QHg== X-Google-Smtp-Source: ABdhPJxZHKtwa7UfAGIE1WXHMaTT3OiSvmNWQPaKkiLJVPYltqWi0hDbzDeL8gtKadTnpfGGK0z+dpiU5OT4+ygJyvU= X-Received: by 2002:a05:6602:2803:: with SMTP id d3mr3697510ioe.214.1635165051497; Mon, 25 Oct 2021 05:30:51 -0700 (PDT) MIME-Version: 1.0 From: Phil Beadling Date: Mon, 25 Oct 2021 13:30:40 +0100 Message-ID: Subject: Getting Unit Test Results Out Of Guix Build To: help-guix Received-SPF: none client-ip=2607:f8b0:4864:20::d2e; envelope-from=phil@beadling.co.uk; helo=mail-io1-xd2e.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, HTML_MESSAGE=0.001, 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 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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=1635165894; 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=SWC6T5x4+y5AgSXo3ayQhRUGGztjth2Zn66Is0buuRQ=; b=ITg78ICmgKQJtudePatPUf/kGnZ2r4salBRnYoP8WB7evxMmRwxT7cAsPe3Mn0yDRj/wE2 nrTtNOMVCwCpXRcWo/Vc9g8qKLdJ+y/pDHFqE02DA2YgKiLXHTPnMirKRnyYI+b0uiz/U1 j9jPIQ8Smyg4FAGZIndY785DO9aoNhDSzmTGYo7krsYXP/dNto9djgiKW7rXDNE+b6tt14 L3aKW1/suOSfk7IyFRgUu1BajpeK9Si7KPM4ASIvQ68Ypt6DKRdZDEOJDnXHfFXmEV4uTM /JGUtY5NjSzY5n2bcm5VLx4cAvhI69on8cgsZ8GDCYx8gRbE+dFqLIhJ+wIaqA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635165894; a=rsa-sha256; cv=none; b=JjpepdRz44d3khyHvh0VOqJOAIPX5EwZmh9mq3fAt2Azsj4KqrTWkA2HlZonbsZYyqr6Vg tVjfdVlDw0LdwxP70B+R+2oEAdxzTlHtBM37fo0gA7mCSI434qkiGaI6hGx3tgdStIjymn kQTFiyTqZoWY31SrNMwyCUXbdaF1gw9VA2RucdqwiEvse48uE7/sMHrdBaIGiMak9ImxMb QTUSGb625FAh9yelQozqegMWIl7xPkMLAGUDvglMnEEjVnp5+f9bK2blS5l3p8Z2sdG6sS yPlpL44IdOVxPKod2RVR0tZyHSLuesnOY1CjqOUfZq/0dQvsqvEm3TzsUbVUvQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=beadling-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=REAFDnkx; 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: -1.43 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=beadling-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=REAFDnkx; dmarc=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: 937341C4AC X-Spam-Score: -1.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: R3Xos6LCfeXv Hi all, Given Guix builds packages in a container, is there any way of getting a file out of the build container for further processing? In my use case - I generate some junit test XML output during the build process and want to render that to a webpage rather than send it to stdout as part of the build process? It is possible to export the nar file using guix archive --export, and possible to keep failed build artifacts using -K, but there doesn't seem to be a way to dump out a file from a successful build? Is this against the philosphy of purely-functional builds? Obviously it is a side-effect to dump out an XML file, but no more so than sending build logs to stdout? Is it possible to dump outputs without breaking referential transparency on the inputs - i.e. it should be possible to configure a directory that is write-only for the container, but can be read by users outside the container? Or am I missing something obvious? Thanks, Phil.