bash-completion: fixed hard-coded reference to /etc
svn path=/nixpkgs/trunk/; revision=29226
This commit is contained in:
parent
17925a9d3c
commit
7bc8c122bd
|
@ -14,6 +14,7 @@ stdenv.mkDerivation {
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
rm $out/etc/profile.d/bash_completion.sh
|
rm $out/etc/profile.d/bash_completion.sh
|
||||||
rmdir $out/etc/profile.d
|
rmdir $out/etc/profile.d
|
||||||
|
sed -i -e "s|/etc/bash_completion|$out/etc/bash_completion|g" $out/etc/bash_completion
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in New Issue