mirror of
https://github.com/nix-community/home-manager
synced 2024-12-28 04:39:48 +01:00
docs: apply nixfmt
This commit is contained in:
parent
93e2536db2
commit
890239846e
2 changed files with 5 additions and 15 deletions
|
@ -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";
|
||||
|
|
|
@ -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 ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue