ncdu: fix infinite loop on Zig 0.15.2

This commit is contained in:
SandaruKasa
2025-10-23 19:59:49 +03:00
parent e026eee5d3
commit 13c33dc365
+9
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
fetchpatch2,
ncurses,
pkg-config,
zig_0_15,
@@ -20,6 +21,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-v9EJThQA7onP1ZIA6rlA8CXM3AwjgGcQXJhKPEhXv34=";
};
patches = [
(fetchpatch2 {
# Fix infinite loop when reading config file on Zig 0.15.2
url = "https://code.blicky.net/yorhel/ncdu/commit/f45224457687a55aa885aca8e7300f1fbf0af59b.patch";
hash = "sha256-80Igx1MOINdeufCsNoisNo3dJ2iUTpZIxyXy/KzQ1Ng=";
})
];
nativeBuildInputs = [
zig_0_15.hook
installShellFiles