From 5cf822feb71d787b6231a5259263eca5f7a21469 Mon Sep 17 00:00:00 2001 From: Artturin Date: Sun, 7 Jul 2024 01:38:39 +0300 Subject: [PATCH] peg: Fix cross I emailed the author to change it upstream since there's no repository. --- pkgs/development/tools/parsing/peg/default.nix | 5 +++++ 1 file changed, 5 insertions(+) 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; {