From 88e9df7b8d51b88d28093821a1d8d148cb309dc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Thu, 21 Jan 2021 10:32:37 +0100 Subject: [PATCH] libiscsi: work around i686-linux build problems --- pkgs/development/libraries/libiscsi/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/libiscsi/default.nix b/pkgs/development/libraries/libiscsi/default.nix index 2f7e3c410dd..246696c94eb 100644 --- a/pkgs/development/libraries/libiscsi/default.nix +++ b/pkgs/development/libraries/libiscsi/default.nix @@ -13,6 +13,9 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ autoreconfHook ]; + # This problem is gone on libiscsi master. + NIX_CFLAGS_COMPILE = if stdenv.hostPlatform.is32bit then "-Wno-error=sign-compare" else null; + meta = with stdenv.lib; { description = "iscsi client library and utilities"; homepage = "https://github.com/sahlberg/libiscsi";