From 3fdfde44c65e246a19cbb2afb86153e5b64dcdb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Hedin=20Br=C3=B8nner?= Date: Wed, 17 Oct 2018 09:18:22 +0200 Subject: [PATCH] hardinfo: fix build with new libsoup --- pkgs/tools/system/hardinfo/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/system/hardinfo/default.nix b/pkgs/tools/system/hardinfo/default.nix index a2bffab3a98..0c6f812cb3e 100644 --- a/pkgs/tools/system/hardinfo/default.nix +++ b/pkgs/tools/system/hardinfo/default.nix @@ -19,6 +19,9 @@ stdenv.mkDerivation rec { # Fixes '#error You must compile this program without "-O"' hardeningDisable = [ "all" ]; + # Ignore undefined references to a bunch of libsoup symbols + NIX_LDFLAGS = "--unresolved-symbol=ignore-all"; + preConfigure = '' patchShebangs configure