Skip to content

Commit

Permalink
overlays: Downgrade eza to 0.14.2
Browse files Browse the repository at this point in the history
Fixes an issue where newer versions of eza don't align CJK characters
properly. See: eza-community/eza#556
  • Loading branch information
donovanglover committed Oct 31, 2023
1 parent 1415b95 commit b5d965b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions overlays/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
imports = [
./alejandra.nix
./cmus.nix
./eza.nix
./hyprnome.nix
./zola.nix
];
Expand Down
22 changes: 22 additions & 0 deletions overlays/eza.nix
Original file line number Diff line number Diff line change
@@ -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=";
});
});
})
];
}

0 comments on commit b5d965b

Please sign in to comment.