From 7bd7b5bea9bc09f031cd516d5ea86bdf34596019 Mon Sep 17 00:00:00 2001 From: Julian Stecklina Date: Sat, 26 Dec 2020 20:37:04 +0100 Subject: [PATCH] kermit: fix build ... by explicitly selecting the Linux code paths in the source. --- pkgs/tools/misc/kermit/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/tools/misc/kermit/default.nix b/pkgs/tools/misc/kermit/default.nix index f81d9b7266b6..ddb51adc6c93 100644 --- a/pkgs/tools/misc/kermit/default.nix +++ b/pkgs/tools/misc/kermit/default.nix @@ -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; }; }