forked from mirrors/nixpkgs
Merge pull request #84581 from marsam/fix-skim
skim: fix bash completion
This commit is contained in:
commit
3e7348b4d6
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, rustPlatform }:
|
{ stdenv, fetchFromGitHub, rustPlatform, fetchpatch }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "skim";
|
pname = "skim";
|
||||||
|
@ -15,7 +15,15 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
cargoSha256 = "14p4ppbl2mak21jvxpbd1b28jaw2629bc8kv7875cdzy3ksxyji3";
|
cargoSha256 = "14p4ppbl2mak21jvxpbd1b28jaw2629bc8kv7875cdzy3ksxyji3";
|
||||||
|
|
||||||
patchPhase = ''
|
patches = [
|
||||||
|
# Fix bash completion. Remove with the next release
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/lotabout/skim/commit/60ca3484090c2e73a1de396500c73a6ad6e0bde9.patch";
|
||||||
|
sha256 = "07nibr13vmxscbwavrckhcbsvxwkpan4a6ml0qfr1ny36xbc6y3p";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
sed -i -e "s|expand('<sfile>:h:h')|'$out'|" plugin/skim.vim
|
sed -i -e "s|expand('<sfile>:h:h')|'$out'|" plugin/skim.vim
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue