Merge pull request #158746 from NickCao/screen-cross

screen: drop outdated hack for cross compilation
This commit is contained in:
Bobby Rong 2022-02-09 17:20:04 +08:00 committed by GitHub
commit c9fd5b70d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
];