unofficial mirror of gwl-devel@gnu.org
 help / color / mirror / Atom feed
From: Olivier Dion via <gwl-devel@gnu.org>
To: gwl-devel@gnu.org
Subject: Auto-create processe's output-path?
Date: Thu, 02 Jun 2022 12:33:26 -0400	[thread overview]
Message-ID: <87y1yf9ga1.fsf@laura> (raw)

Hi,

I think it would be nice if GWL automatically creates the `output-path`
of a process.  

Currently, I have to do the following:
--8<---------------cut here---------------start------------->8---
output-path "output-of"
packages ... "coreutils" ...
# {
  ...
  mkdir {{output-path}}
  ...
}
--8<---------------cut here---------------end--------------->8---

I don't really like this because now I need "coretutils" as a dependency
-- which I tend to reduce to a minimal -- and I also need to manually
call `mkdir` in my script.

Would it be possible for GWL to do this instead?

-- 
Olivier Dion
oldiob.dev



             reply	other threads:[~2022-06-02 16:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-02 16:33 Olivier Dion via [this message]
2022-06-03 18:43 ` Auto-create processe's output-path? Ricardo Wurmus
2022-06-03 19:05   ` Olivier Dion via
2022-06-06 10:26     ` Ricardo Wurmus
2022-06-06 13:26       ` Olivier Dion via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.guixwl.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y1yf9ga1.fsf@laura \
    --to=gwl-devel@gnu.org \
    --cc=olivier.dion@polymtl.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).