screen: drop outdated hack for cross compilation

This commit is contained in:
Nick Cao 2022-02-09 12:52:54 +08:00
parent 3ecddf791d
commit 6629a88714
No known key found for this signature in database
GPG Key ID: 068A56CEF48FA2C1

View File

@ -23,12 +23,6 @@ stdenv.mkDerivation rec {
stripLen = 1;
});
postPatch = lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform)
# XXX: Awful hack to allow cross-compilation.
'' sed -i ./configure \
-e 's/^as_fn_error .. \("cannot run test program while cross compiling\)/$as_echo \1/g'
''; # "
nativeBuildInputs = [
autoreconfHook
];