mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
docs: apply nixfmt
This commit is contained in:
parent
613dbb35db
commit
f10eb1b3ee
2 changed files with 5 additions and 15 deletions
|
@ -1,11 +1,5 @@
|
||||||
{ stdenv
|
{ stdenv, lib, documentation-highlighter, nmd, revision, home-manager-options
|
||||||
, lib
|
, nixos-render-docs }:
|
||||||
, documentation-highlighter
|
|
||||||
, nmd
|
|
||||||
, revision
|
|
||||||
, home-manager-options
|
|
||||||
, nixos-render-docs
|
|
||||||
}:
|
|
||||||
let outputPath = "share/doc/home-manager";
|
let outputPath = "share/doc/home-manager";
|
||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation {
|
||||||
name = "home-manager-manual";
|
name = "home-manager-manual";
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
{ writeShellScriptBin, makeDesktopItem, symlinkJoin }:
|
{ writeShellScriptBin, makeDesktopItem, symlinkJoin }:
|
||||||
{ html
|
{ html, pathName ? "home-manager", projectName ? pathName
|
||||||
, pathName ? "home-manager"
|
, name ? "${pathName}-help" }:
|
||||||
, projectName ? pathName
|
|
||||||
, name ? "${pathName}-help"
|
|
||||||
}:
|
|
||||||
let
|
let
|
||||||
helpScript = writeShellScriptBin name ''
|
helpScript = writeShellScriptBin name ''
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
@ -33,8 +30,7 @@ let
|
||||||
exec = "${helpScript}/bin/${name}";
|
exec = "${helpScript}/bin/${name}";
|
||||||
categories = [ "System" ];
|
categories = [ "System" ];
|
||||||
};
|
};
|
||||||
in
|
in symlinkJoin {
|
||||||
symlinkJoin {
|
|
||||||
inherit name;
|
inherit name;
|
||||||
paths = [ helpScript desktopItem ];
|
paths = [ helpScript desktopItem ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue