diff --git a/pkgs/development/tools/parsing/peg/default.nix b/pkgs/development/tools/parsing/peg/default.nix index c5d6ad5b8703..988c3d461f85 100644 --- a/pkgs/development/tools/parsing/peg/default.nix +++ b/pkgs/development/tools/parsing/peg/default.nix @@ -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; {