dpkg: fix cross build

This commit is contained in:
FliegendeWurst
2025-01-11 16:12:30 +01:00
parent d9e9853753
commit 1d1cebde0f
+5 -1
View File
@@ -49,10 +49,14 @@ stdenv.mkDerivation rec {
for i in $(find . -name Makefile.in); do
substituteInPlace $i --replace "install-data-local:" "disabled:" ;
done
# Skip check broken when cross-compiling.
substituteInPlace configure \
--replace-fail 'as_fn_error $? "cannot find a GNU tar program"' "#"
'';
postPatch = ''
patchShebangs .
patchShebangs --host .
# Dpkg commands sometimes calls out to shell commands
substituteInPlace lib/dpkg/dpkg.h \