add btrfs-progs bash-completion, fix #25793

This commit is contained in:
wisut hantanong 2017-07-06 18:53:25 +07:00
parent 6e2579c465
commit 25028cb750

View File

@ -21,6 +21,10 @@ stdenv.mkDerivation rec {
# This should be fine on all platforms so apply universally
patchPhase = "sed -i s/-O1/-O2/ configure";
postInstall = ''
install -v -m 444 -D btrfs-completion $out/etc/bash_completion.d/btrfs
'';
meta = with stdenv.lib; {
description = "Utilities for the btrfs filesystem";
homepage = https://btrfs.wiki.kernel.org/;