diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/profpatsch/execline/escape.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/profpatsch/execline/escape.nix b/pkgs/profpatsch/execline/escape.nix index d9a0be0c..dff07a19 100644 --- a/pkgs/profpatsch/execline/escape.nix +++ b/pkgs/profpatsch/execline/escape.nix @@ -20,6 +20,7 @@ let (let go = arg: if builtins.isString arg then [(escapeExeclineArg arg)] + else if builtins.isPath arg then [(escapeExeclineArg "${arg}")] else if lib.isDerivation arg then [(escapeExeclineArg arg)] else if builtins.isList arg then [ "{" ] ++ builtins.concatMap go arg ++ [ "}" ] else abort "escapeExecline can only hande nested lists of strings, was ${lib.generators.toPretty {} arg}"; |