add btrfs-progs bash-completion, fix #25793

wip/yesman
wisut hantanong 7 years ago
parent 6e2579c465
commit 25028cb750
  1. 4
      pkgs/tools/filesystems/btrfs-progs/default.nix

@ -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/;

Loading…
Cancel
Save