A collection of scripts
1{ writeScriptBin
2, bash
3, coreutils
4, imagemagick
5, ...
6}:
7
8writeScriptBin "prefon" (builtins.replaceStrings
9 [
10 "#!/bin/sh"
11 "printf"
12 "convert"
13 "rm"
14 ]
15 [
16 "#!${bash}/bin/sh"
17 "${coreutils}/bin/printf"
18 "${imagemagick}/bin/convert"
19 "${coreutils}/bin/rm"
20 ]
21 (builtins.readFile ../scritps/prefon)
22)