nixpkgs/doc
Lily Ballard 43dade238f
installShellFiles: init (#65211)
This is a new package that provides a shell hook to make it easy to
declare manpages and shell completions in a manner that doesn't require
remembering where to actually install them. Basic usage looks like

  { stdenv, installShellFiles, ... }:
  stdenv.mkDerivation {
    # ...
    nativeBuildInputs = [ installShellFiles ];
    postInstall = ''
      installManPage doc/foobar.1
      installShellCompletion --bash share/completions/foobar.bash
      installShellCompletion --fish share/completions/foobar.fish
      installShellCompletion --zsh share/completions/_foobar
    '';
    # ...
  }

See source comments for more details on the functions.
2019-09-04 23:19:17 +02:00
..
doc-support doc: move parameters to an XML file 2019-07-04 09:16:06 -04:00
functions doc/functions/dockertools.xml: clarify that "Commands" means shell commands 2019-08-15 09:47:05 -04:00
languages-frameworks ruby.withPackages: init 2019-09-03 19:44:49 +00:00
old
.gitignore
coding-conventions.xml doc: Use prompt more often 2019-06-17 13:25:50 +02:00
configuration.xml
contributing.xml doc: fix spurious whitespace 2019-06-17 12:28:26 +02:00
cross-compilation.xml manual: Fix typos 2019-03-25 17:50:13 -04:00
default.nix doc: move parameters to an XML file 2019-07-04 09:16:06 -04:00
functions.xml snapTools.makeSnap: init 2019-06-18 18:51:58 +02:00
introduction.chapter.md
Makefile doc: move parameters to an XML file 2019-07-04 09:16:06 -04:00
manual.xml [RFC] manual: rename to users and contributors manual, add some user notes … (#60682) 2019-05-22 13:55:00 +00:00
meta.xml Merge pull request #63351 from Ekleog/fix-2532 2019-06-18 20:09:08 +02:00
multiple-output.xml Merge pull request #36886 from veprbl/symlinkJoin_doc 2019-03-30 22:01:01 -04:00
overlays.xml
overrides.css
package-notes.xml kakoune: support for adding plugins 2019-06-25 17:17:08 -04:00
package-specific-user-notes.xml emacsPackages: Drop old emacsPackages (non-NG) sets 2019-08-30 16:43:16 +01:00
platform-notes.xml doc: fix spurious whitespace 2019-06-17 12:28:26 +02:00
quick-start.xml doc: Replace google groups reference with Discourse Patch category 2019-08-17 12:43:30 +02:00
release-notes.xml
reviewing-contributions.xml doc: Use prompt more often 2019-06-17 13:25:50 +02:00
shell.nix
stdenv.xml installShellFiles: init (#65211) 2019-09-04 23:19:17 +02:00
style.css
submitting-changes.xml doc: Use prompt more often 2019-06-17 13:25:50 +02:00