removed crossLists warning
This commit is contained in:
parent
3378dc9403
commit
ad155dd5c0
2 changed files with 44 additions and 34 deletions
system/desktop
|
@ -63,7 +63,7 @@ let
|
|||
mv "$1.backup" "$1"
|
||||
'';
|
||||
|
||||
pandocScript = inputFormat: outputFormat:
|
||||
pandocScript = { inputFormat, outputFormat }:
|
||||
pkgs.writers.writeDashBin "pandoc-from-${inputFormat}-to-${outputFormat}" ''
|
||||
${pkgs.pandoc}/bin/pandoc \
|
||||
--from ${inputFormat} \
|
||||
|
@ -390,10 +390,10 @@ in {
|
|||
(map (host: "rsync -avLz ${host}.private:/etc/info/ ~/.etc_info")
|
||||
(attrNames config.module.cluster.services.tinc."private".hosts))))
|
||||
|
||||
] ++ (lib.crossLists pandocScript [
|
||||
[ "man" "markdown" "mediawiki" ]
|
||||
[ "mediawiki" "docbook5" "html5" "man" ]
|
||||
]) # ++ (map (search:
|
||||
] ++ (map pandocScript (lib.cartesianProductOfSets {
|
||||
inputFormat = [ "man" "markdown" "mediawiki" ];
|
||||
outputFormat = [ "mediawiki" "docbook5" "html5" "man" ];
|
||||
})) # ++ (map (search:
|
||||
#pkgs.writers.writeDashBin "reddit-${search}" ''
|
||||
# ${unstablePkgs.tuir}/bin/tuir -s ${search} "$@"
|
||||
#'') [ "nixos" "systemdUltras" "terraform" ])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue