Merge pull request #22639 from nicknovitski/darwin-readlink-bashcompletion
bash-completion: call readlink without errors on Darwin
This commit is contained in:
commit
13844f4813
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user