Merge pull request #22639 from nicknovitski/darwin-readlink-bashcompletion

bash-completion: call readlink without errors on Darwin
This commit is contained in:
Peter Simons 2017-02-11 11:11:27 +01:00 committed by GitHub
commit 13844f4813

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";