forked from extern/nix-config
overlays: Downgrade eza to 0.14.2
Fixes an issue where newer versions of eza don't align CJK characters properly. See: https://github.com/eza-community/eza/issues/556
This commit is contained in:
parent
1415b957b3
commit
b5d965b047
@ -2,6 +2,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./alejandra.nix
|
./alejandra.nix
|
||||||
./cmus.nix
|
./cmus.nix
|
||||||
|
./eza.nix
|
||||||
./hyprnome.nix
|
./hyprnome.nix
|
||||||
./zola.nix
|
./zola.nix
|
||||||
];
|
];
|
||||||
|
22
overlays/eza.nix
Normal file
22
overlays/eza.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(final: prev: {
|
||||||
|
eza = prev.eza.overrideAttrs (oldAttrs: rec {
|
||||||
|
version = "0.14.2";
|
||||||
|
|
||||||
|
src = prev.fetchFromGitHub {
|
||||||
|
owner = "eza-community";
|
||||||
|
repo = "eza";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-eST70KMdGgbTo4FNL3K5YGn9lwIGroG4y4ExKDb30hU=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoDeps = oldAttrs.cargoDeps.overrideAttrs (prev.lib.const {
|
||||||
|
name = "eza-vendor.tar.gz";
|
||||||
|
inherit src;
|
||||||
|
outputHash = "sha256-bF4Thh/KUOLQz4MmM0WqQmXXT8dsLjy9ngy1UN5ACk8=";
|
||||||
|
});
|
||||||
|
});
|
||||||
|
})
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user