From 890239846e405c9c0f22a40b99099e4f85137ec2 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sat, 9 Dec 2023 09:05:16 +0100 Subject: [PATCH] docs: apply nixfmt --- docs/home-manager-manual.nix | 10 ++-------- docs/html-open-tool.nix | 10 +++------- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/docs/home-manager-manual.nix b/docs/home-manager-manual.nix index 504cf265..3b7b1010 100644 --- a/docs/home-manager-manual.nix +++ b/docs/home-manager-manual.nix @@ -1,11 +1,5 @@ -{ stdenv -, lib -, documentation-highlighter -, nmd -, revision -, home-manager-options -, nixos-render-docs -}: +{ stdenv, lib, documentation-highlighter, nmd, revision, home-manager-options +, nixos-render-docs }: let outputPath = "share/doc/home-manager"; in stdenv.mkDerivation { name = "home-manager-manual"; diff --git a/docs/html-open-tool.nix b/docs/html-open-tool.nix index 6154caf1..077e2a2f 100644 --- a/docs/html-open-tool.nix +++ b/docs/html-open-tool.nix @@ -1,9 +1,6 @@ { writeShellScriptBin, makeDesktopItem, symlinkJoin }: -{ html -, pathName ? "home-manager" -, projectName ? pathName -, name ? "${pathName}-help" -}: +{ html, pathName ? "home-manager", projectName ? pathName +, name ? "${pathName}-help" }: let helpScript = writeShellScriptBin name '' set -euo pipefail @@ -33,8 +30,7 @@ let exec = "${helpScript}/bin/${name}"; categories = [ "System" ]; }; -in -symlinkJoin { +in symlinkJoin { inherit name; paths = [ helpScript desktopItem ]; }