Skip to content

Commit

Permalink
docs: apply nixfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
rycee committed Dec 9, 2023
1 parent 613dbb3 commit f10eb1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
10 changes: 2 additions & 8 deletions docs/home-manager-manual.nix
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
10 changes: 3 additions & 7 deletions docs/html-open-tool.nix
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -33,8 +30,7 @@ let
exec = "${helpScript}/bin/${name}";
categories = [ "System" ];
};
in
symlinkJoin {
in symlinkJoin {
inherit name;
paths = [ helpScript desktopItem ];
}

0 comments on commit f10eb1b

Please sign in to comment.