Merge pull request #215138 from laalsaas/util-linux-completion

This commit is contained in:
Sandro 2023-02-07 21:05:17 +01:00 committed by GitHub
commit eaaca27fa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,7 @@
, nlsSupport ? true
, translateManpages ? true
, po4a
, installShellFiles
}:
stdenv.mkDerivation rec {
@ -66,7 +67,7 @@ stdenv.mkDerivation rec {
"usrsbin_execdir=${placeholder "bin"}/sbin"
];
nativeBuildInputs = [ pkg-config ]
nativeBuildInputs = [ pkg-config installShellFiles ]
++ lib.optionals translateManpages [ po4a ];
buildInputs = [ zlib libxcrypt ]
@ -79,6 +80,10 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
postInstall = ''
installShellCompletion --bash bash-completion/*
'';
meta = with lib; {
homepage = "https://www.kernel.org/pub/linux/utils/util-linux/";
description = "A set of system utilities for Linux";