nixpkgs/pkgs
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
..
applications Merge pull request #67968 from ambrop72/virtualbox-qt-fix 2019-09-04 06:38:37 -07:00
build-support installShellFiles: init (#65211) 2019-09-04 23:19:17 +02:00
common-updater
data Merge pull request #67900 from romildo/upd.materia-theme 2019-09-03 11:00:50 -03:00
desktops Merge pull request #68016 from worldofpeace/no-single-quote-placeholder 2019-09-03 13:02:42 -04:00
development fflas-ffpack: 2.4.0 -> 2.4.3 (#68108) 2019-09-04 18:13:00 +02:00
games Merge remote-tracking branch 'upstream/master' into staging-next 2019-08-31 06:53:44 -04:00
misc light-locker: wrapGAppsHook to nativeBuildInputs 2019-09-02 00:08:17 -04:00
os-specific sysdig: 0.26.2 -> 0.26.4 2019-09-04 11:26:17 +01:00
servers tacacs+: tacacs+ -> tacacsplus 2019-09-03 21:27:40 +00:00
shells zsh-you-should-use: 1.1.0 -> 1.4.0 2019-09-01 21:32:38 +02:00
stdenv Merge remote-tracking branch 'upstream/master' into feature/js-unknown-ghcjs 2019-09-02 01:31:31 -04:00
test
tools nix: 2.2.2 -> 2.3 2019-09-04 21:36:49 +02:00
top-level installShellFiles: init (#65211) 2019-09-04 23:19:17 +02:00