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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b424ecd84eaf
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 03c4d242e6f7
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jan 21, 2021

  1. Copy the full SHA
    de3377b View commit details

Commits on Jan 22, 2021

  1. Merge pull request #110416 from tnias/usbguard_shell_completions_pr

    usbguard: install shell completion
    SuperSandro2000 authored Jan 22, 2021
    Copy the full SHA
    03c4d24 View commit details
Showing with 7 additions and 0 deletions.
  1. +7 −0 pkgs/os-specific/linux/usbguard/default.nix
7 changes: 7 additions & 0 deletions pkgs/os-specific/linux/usbguard/default.nix
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
, lib
, fetchFromGitHub
, autoreconfHook
, installShellFiles
, asciidoc
, pkg-config
, libxslt
@@ -35,6 +36,7 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [
autoreconfHook
installShellFiles
asciidoc
pkg-config
libxslt # xsltproc
@@ -66,6 +68,11 @@ stdenv.mkDerivation rec {

enableParallelBuilding = true;

postInstall = ''
installShellCompletion --bash --name usbguard.bash scripts/bash_completion/usbguard
installShellCompletion --zsh --name _usbguard scripts/usbguard-zsh-completion
'';

meta = with lib; {
description = "The USBGuard software framework helps to protect your computer against BadUSB";
longDescription = ''