diff --git a/pkgs/development/libraries/libconfig/default.nix b/pkgs/development/libraries/libconfig/default.nix index 10d688d89b6c..eeec5d0bc8f8 100644 --- a/pkgs/development/libraries/libconfig/default.nix +++ b/pkgs/development/libraries/libconfig/default.nix @@ -11,7 +11,9 @@ stdenv.mkDerivation rec { doCheck = true; - configureFlags = lib.optional stdenv.targetPlatform.isWindows "--disable-examples"; + configureFlags = lib.optional + (stdenv.targetPlatform.isWindows || stdenv.hostPlatform.isStatic) + "--disable-examples"; meta = with lib; { homepage = "http://www.hyperrealm.com/libconfig";