Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 37e333af9a18
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 43dade238f39
Choose a head ref
  • 1 commit
  • 4 files changed
  • 1 contributor

Commits on Sep 4, 2019

  1. 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.
    lilyball authored and rycee committed Sep 4, 2019
    1
    Copy the full SHA
    43dade2 View commit details
    Browse the repository at this point in the history