We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9e9853 commit 1d1cebdCopy full SHA for 1d1cebd
pkgs/by-name/dp/dpkg/package.nix
@@ -49,10 +49,14 @@ stdenv.mkDerivation rec {
49
for i in $(find . -name Makefile.in); do
50
substituteInPlace $i --replace "install-data-local:" "disabled:" ;
51
done
52
+
53
+ # Skip check broken when cross-compiling.
54
+ substituteInPlace configure \
55
+ --replace-fail 'as_fn_error $? "cannot find a GNU tar program"' "#"
56
'';
57
58
postPatch = ''
- patchShebangs .
59
+ patchShebangs --host .
60
61
# Dpkg commands sometimes calls out to shell commands
62
substituteInPlace lib/dpkg/dpkg.h \
0 commit comments