From 6629a887140c8df27798885d3f11ea0ca2bbc34a Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Wed, 9 Feb 2022 12:52:54 +0800 Subject: [PATCH] screen: drop outdated hack for cross compilation --- pkgs/tools/misc/screen/default.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkgs/tools/misc/screen/default.nix b/pkgs/tools/misc/screen/default.nix index b217453b132f..e7e0e420810d 100644 --- a/pkgs/tools/misc/screen/default.nix +++ b/pkgs/tools/misc/screen/default.nix @@ -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 ];