peg: Fix cross

I emailed the author to change it upstream since there's no
repository.
This commit is contained in:
Artturin 2024-07-07 01:38:39 +03:00
parent 381a94c16d
commit 5cf822feb7

View File

@ -9,6 +9,11 @@ stdenv.mkDerivation rec {
sha256 = "sha256-uLcXvJOll2ijXWUlZ5pODOlOa/ZvkrrPKXnGR0VytFo=";
};
postPatch = ''
substituteInPlace Makefile \
--replace-fail "strip" '$(STRIP)'
'';
preBuild="makeFlagsArray+=( PREFIX=$out )";
meta = with lib; {