overlay: install rex autocompletion stuff
This commit is contained in:
parent
dd6a3dfa60
commit
a8ac42c7cb
@ -191,6 +191,7 @@ in {
|
||||
git-credential-1password
|
||||
arcanPackages.all-wrapped
|
||||
barrier
|
||||
rex
|
||||
calibre
|
||||
cider
|
||||
cinny-desktop
|
||||
|
@ -20,8 +20,33 @@ let
|
||||
};
|
||||
};
|
||||
in {
|
||||
nixpkgs.overlays = if isUnstable then
|
||||
[
|
||||
nixpkgs.overlays = if isUnstable then [
|
||||
(self: super: {
|
||||
rex = super.rex.overrideAttrs (old: {
|
||||
patches = [
|
||||
(pkgs.fetchurl {
|
||||
url = "https://deftly.net/rex-git.diff";
|
||||
sha256 = "sha256-hLzWJydIBxAVXLTcqYFTLuWnMgPwNE6aZ+4fDN4agrM=";
|
||||
})
|
||||
];
|
||||
nativeBuildInputs = with pkgs.perlPackages; [
|
||||
ParallelForkManager
|
||||
pkgs.installShellFiles
|
||||
];
|
||||
|
||||
outputs = [ "out" ];
|
||||
|
||||
fixupPhase = ''
|
||||
substituteInPlace ./share/rex-tab-completion.zsh \
|
||||
--replace 'perl' "${pkgs.perl}/bin/perl -I ${pkgs.perlPackages.YAML}/${pkgs.perlPackages.YAML.perlModule.libPrefix}"
|
||||
substituteInPlace ./share/rex-tab-completion.bash \
|
||||
--replace 'perl' "${pkgs.perl}/bin/perl -I ${pkgs.perlPackages.YAML}/${pkgs.perlPackages.YAML.perlModule.libPrefix}"
|
||||
installShellCompletion --name _rex --zsh ./share/rex-tab-completion.zsh
|
||||
installShellCompletion --name _rex --bash ./share/rex-tab-completion.bash
|
||||
'';
|
||||
|
||||
});
|
||||
})
|
||||
(self: super: {
|
||||
aerc = super.aerc.overrideAttrs (old: {
|
||||
patches = [
|
||||
@ -33,8 +58,7 @@ in {
|
||||
];
|
||||
});
|
||||
})
|
||||
]
|
||||
else [
|
||||
] else [
|
||||
tailscale
|
||||
(self: super: {
|
||||
matrix-synapse = super.matrix-synapse.overrideAttrs (old: rec {
|
||||
|
Loading…
Reference in New Issue
Block a user