diff options
author | wisut hantanong <wizzup@gmail.com> | 2017-07-06 18:53:25 +0700 |
---|---|---|
committer | wisut hantanong <wizzup@gmail.com> | 2017-07-09 14:29:34 +0700 |
commit | 25028cb750f9224ace34c53b33d6f50b17e5a935 (patch) | |
tree | ca3eeb449ec768f15df38acc9974edaf4be4d834 /pkgs/tools/filesystems/btrfs-progs | |
parent | 6e2579c46566b9784e09db890e97c95215332cf3 (diff) |
add btrfs-progs bash-completion, fix #25793
Diffstat (limited to 'pkgs/tools/filesystems/btrfs-progs')
-rw-r--r-- | pkgs/tools/filesystems/btrfs-progs/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/btrfs-progs/default.nix b/pkgs/tools/filesystems/btrfs-progs/default.nix index 525aa2fec28a..d9b01eb5239f 100644 --- a/pkgs/tools/filesystems/btrfs-progs/default.nix +++ b/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/; |