zsh-powerlevel10k: add upstream patch to compile with gcc14 (#366575)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
replaceVars,
|
||||
fetchpatch,
|
||||
gitstatus,
|
||||
bash,
|
||||
}:
|
||||
@@ -19,6 +20,16 @@ let
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-mVfB3HWjvk4X8bmLEC/U8SKBRytTh/gjjuReqzN5qTk=";
|
||||
};
|
||||
|
||||
patches = (oldAtttrs.patches or [ ]) ++ [
|
||||
# remove when bumped to 1.5.5
|
||||
(fetchpatch {
|
||||
url = "https://github.com/romkatv/gitstatus/commit/62177e89b2b04baf242cd1526cc2661041dda0fb.patch";
|
||||
sha256 = "sha256-DSRYRV89MLR/Eh4MFsXpDKH1xJiAWyJgSqmfjDTXhtU=";
|
||||
name = "drop-Werror.patch";
|
||||
})
|
||||
];
|
||||
|
||||
});
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
Reference in New Issue
Block a user