mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-30 12:16:01 +01:00
963ac19447
I was going to wait until the next nixos-unstable release, but it's been a week since the branch was updated. This commit makes it possible to use the latest nixos-unstable release without worrying about the fzf_key_bindings error introduced in the recent fzf update.
15 lines
353 B
Nix
15 lines
353 B
Nix
{
|
|
nixpkgs.overlays = [
|
|
(final: prev: {
|
|
fzf = prev.fzf.overrideAttrs (oldAttrs: {
|
|
postInstall = (oldAttrs.postInstall or "") + ''
|
|
cat << EOF > $out/share/fish/vendor_conf.d/load-fzf-key-bindings.fish
|
|
status is-interactive; or exit 0
|
|
fzf_key_bindings
|
|
EOF
|
|
'';
|
|
});
|
|
})
|
|
];
|
|
}
|