Skip to content

Commit 75df28e

Browse files
authored
conserver: fix cross compilation (#352378)
2 parents b92edf1 + 230e331 commit 75df28e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pkgs/tools/misc/conserver/default.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ stdenv.mkDerivation rec {
5353
# Disabled due to exist upstream cases failing 8/15 tests
5454
doCheck = false;
5555

56+
postPatch = ''
57+
# install -s calls the wrong strip program when cross compiling
58+
substituteInPlace \
59+
console/Makefile.in conserver/Makefile.in autologin/Makefile.in contrib/chat/Makefile.in \
60+
--replace-fail "@INSTALL_PROGRAM@ -s" "@INSTALL_PROGRAM@"
61+
'';
62+
5663
meta = with lib; {
5764
homepage = "https://www.conserver.com/";
5865
description = "Application that allows multiple users to watch a serial console at the same time";

0 commit comments

Comments
 (0)