bash-completion: call readlink without errors on Darwin

This commit is contained in:
Nick Novitski 2017-02-11 09:42:12 +13:00
parent dc75530f26
commit 9c4653cf46

View File

@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
doCheck = true;
prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
sed -i -e 's/readlink -f/readlink/g' bash_completion completions/*
'';
meta = with stdenv.lib; {
homepage = https://github.com/scop/bash-completion;
description = "Programmable completion for the bash shell";