ncdu: fix infinite loop on Zig 0.15.2 (#454965)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user