From 93f5d251eaf7d2944d542281ae6e54ccfa306fd0 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Thu, 26 Sep 2019 03:49:38 +0200 Subject: pkgs/profpatsch/runExecline: move to writeCommand form MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s conventional that these tools have the form tool name options data so we should adhere to that. --- pkgs/profpatsch/execline/run-execline.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'pkgs/profpatsch/execline/run-execline.nix') diff --git a/pkgs/profpatsch/execline/run-execline.nix b/pkgs/profpatsch/execline/run-execline.nix index 8983dc8e..2efe43d6 100644 --- a/pkgs/profpatsch/execline/run-execline.nix +++ b/pkgs/profpatsch/execline/run-execline.nix @@ -1,17 +1,18 @@ { stdenv, bin, lib }: -{ name -# the execline script as a nested list of string, -# representing the blocks; -# see docs of `escapeExecline`. -, execline +name: +{ # a string to pass as stdin to the execline script -, stdin ? "" +stdin ? "" # a program wrapping the acutal execline invocation; # should be in Bernstein-chaining style , builderWrapper ? bin.exec # additional arguments to pass to the derivation , derivationArgs ? {} }: +# the execline script as a nested list of string, +# representing the blocks; +# see docs of `escapeExecline`. + execline: # those arguments can’t be overwritten assert !derivationArgs ? system; -- cgit 1.4.1