mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 15:43:00 +00:00
bash-completion: call readlink without errors on Darwin
This commit is contained in:
parent
dc75530f26
commit
9c4653cf46
@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
|
sed -i -e 's/readlink -f/readlink/g' bash_completion completions/*
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/scop/bash-completion;
|
homepage = https://github.com/scop/bash-completion;
|
||||||
description = "Programmable completion for the bash shell";
|
description = "Programmable completion for the bash shell";
|
||||||
|
Loading…
Reference in New Issue
Block a user