From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YPGaNp+cTWJASAAAgWs5BA (envelope-from ) for ; Wed, 06 Apr 2022 15:58:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CPz5M5+cTWK/oAAA9RJhRA (envelope-from ) for ; Wed, 06 Apr 2022 15:58:55 +0200 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 7AF8F159E2 for ; Wed, 6 Apr 2022 15:58:55 +0200 (CEST) Received: from localhost ([::1]:54590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nc6BR-0007Hr-LP for larch@yhetil.org; Wed, 06 Apr 2022 09:58:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nc1By-0008Lp-Ba for gwl-devel@gnu.org; Wed, 06 Apr 2022 04:39:06 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:53564) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nc1Bt-0005kl-F5 for gwl-devel@gnu.org; Wed, 06 Apr 2022 04:39:03 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4KYHwq6Nzrz1LZVs for ; Wed, 6 Apr 2022 10:38:51 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4KYHwq6Nzrz1LZVs DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1649234331; bh=iipGwwRFSw49PP+WITFPvIL7HiFu9p/11zwge1wIHgs=; h=Subject:From:To:Date:From; b=AWmgt2+uwbOL++25buYJkI8BvJm+evobXxsKtJfMcWCBo8h3J7ctIg8HyJ3vamRm6 OMV/SZ5n/rx3g1K/O1mb0dt3SZaYtnzv+L0mL98uvdrrOxw2d308baGD2KM4Iq0j/W ++nTxLr1MTHEWCQ25xVVsU4GR71eszdDq+/9Eubc= Message-ID: Subject: GWL bash-minimal masks input bash From: Liliana Marie Prikler To: gwl-devel@gnu.org Date: Wed, 06 Apr 2022 10:38:51 +0200 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 Received-SPF: none client-ip=129.27.2.202; envelope-from=liliana.prikler@ist.tugraz.at; helo=mailrelay.tugraz.at X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 06 Apr 2022 09:58:40 -0400 X-BeenThere: gwl-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gwl-devel-bounces+larch=yhetil.org@gnu.org Sender: "gwl-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649253535; 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=iipGwwRFSw49PP+WITFPvIL7HiFu9p/11zwge1wIHgs=; b=B+cj+nY8t9eWUTuJOBNLcYxKNLFl4jfaUP3I/6D//tFkMml9BPxyrT4lAenZMmjtaZo9sc 5qxpWGxuZ4eVBWQfwyUNM/aaC5FxTuWrzyTZj9fj/dhJTXgLr6t9EvvJ1zqrctwN9QUZ29 IEgW/nYLcLE3x0qOtaxV1Fi4j/wa+FF0a2euOyIbkkYTeqnqIckDFqvmZMnt6VxOrdX4DW sVppCBqeDoWRMumrhYnnFw+oVUbE7TGBuS9rttVyr4oi06mm1A3vWyGCqmVTswnuhEOOtj 1TXsE5rIbxCqVoqwmtKX4J+5QxB62PfrpzHjgtd98nL1qUtME0Hhi37p0Pvgcw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649253535; a=rsa-sha256; cv=none; b=dwRqsxQ2RfiJ+PZxeXzoq+nAHc3/36kLlmfdefDXr2owsXJ/CQ/Cl3KxzHNunyb+mSUFjU aixsQLZYD5NmCrQaWrVLj2Zl6vUhwHezlor8eGMYuLklDrGt2D/pr24vykJQpCjLZUu/6B InH61uAqSFSRgLhitxYZL9PRli5ldEjIZkB04yFTyiKcqTH7ufxjVbeo0rtGANlYlfPHCp R2FHMM+QcEJ+61ocQSSgRaKb7PQSXQiLGYoIdyapjP0A7g48cVi+wfEqyB+6ktSDoyYbj5 UDZpirfFf+JGWMSXnxypIyg/9S0JUSUmBdK8SDqEuCaxCzDeYZvdI6Tft7dZJQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tugraz.at header.s=mailrelay header.b=AWmgt2+u; dmarc=pass (policy=none) header.from=tugraz.at; spf=pass (aspmx1.migadu.com: domain of "gwl-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="gwl-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -6.77 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tugraz.at header.s=mailrelay header.b=AWmgt2+u; dmarc=pass (policy=none) header.from=tugraz.at; spf=pass (aspmx1.migadu.com: domain of "gwl-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="gwl-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7AF8F159E2 X-Spam-Score: -6.77 X-Migadu-Scanner: scn0.migadu.com X-TUID: ett/0A/GBUu3 Hi scientific Guix, I have a scientific workflow that depends on a bash script using an extension. (I wish I did not.) Said script is the least common denominator working on all systems that have some basic utilities, and needs therefore not consider the reproducibility of its inputs (it is assumed, that those are up to date). However, at least on my personal machine I want to ensure the reproducibility of the entire workflow, including the invocation of said script. I wrote a GWL workflow that calls the script, but due to the extension the script actually fails in the GWL context.  This is because GWL's process->script unconditionally conses bash-minimal to the process inputs. It should probably check whether a bash input already exists or alternatively just append (list (bash-minimal)) instead. For those in a similar situation as I am needing a fix, the following works for me: instead of calling "bash" inside the workflow's inline code, I specify --8<---------------cut here---------------start------------->8--- values run-with-store open-connection package-file bash "bin/bash" --8<---------------cut here---------------end--------------->8--- and use {{values}} instead of "bash" to call my script. (Don't forget to add bash to your inputs, because package-file does not guarantee existence of the file).  Cheers