Skip to content

Commit

Permalink
zsh-powerlevel10k: add upstream patch to compile with gcc14 (#366575)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Dec 22, 2024
2 parents 13f16ea + 26964e0 commit b3ce3af
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pkgs/by-name/zs/zsh-powerlevel10k/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
stdenv,
fetchFromGitHub,
replaceVars,
fetchpatch,
gitstatus,
bash,
}:
Expand All @@ -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 {
Expand Down

0 comments on commit b3ce3af

Please sign in to comment.