mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
43dade238f
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. |
||
---|---|---|
.. | ||
doc-support | ||
functions | ||
languages-frameworks | ||
old | ||
.gitignore | ||
coding-conventions.xml | ||
configuration.xml | ||
contributing.xml | ||
cross-compilation.xml | ||
default.nix | ||
functions.xml | ||
introduction.chapter.md | ||
Makefile | ||
manual.xml | ||
meta.xml | ||
multiple-output.xml | ||
overlays.xml | ||
overrides.css | ||
package-notes.xml | ||
package-specific-user-notes.xml | ||
platform-notes.xml | ||
quick-start.xml | ||
release-notes.xml | ||
reviewing-contributions.xml | ||
shell.nix | ||
stdenv.xml | ||
style.css | ||
submitting-changes.xml |