Merge pull request #107658 from blitz/fix-ckermit

kermit: fix build
This commit is contained in:
Pascal Wittmann 2020-12-26 21:50:11 +01:00 committed by GitHub
commit 9e5bb1566e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ stdenv.mkDerivation {
-e 's@/usr/local@'"$out"@ makefile
'';
buildPhase = "make -f makefile linux LNKFLAGS='-lcrypt -lresolv'";
buildPhase = "make -f makefile linux KFLAGS='-D_IO_file_flags' LNKFLAGS='-lcrypt -lresolv'";
installPhase = ''
mkdir -p $out/bin
@ -35,6 +35,5 @@ stdenv.mkDerivation {
license = licenses.bsd3;
maintainers = with maintainers; [ pSub ];
platforms = with platforms; linux;
broken = true;
};
}