From a3c45b383da66f264b84a8f6ede86482034d4e76 Mon Sep 17 00:00:00 2001 From: Christoph Hrdinka Date: Thu, 28 Dec 2017 13:16:52 +0100 Subject: [PATCH] bbswitch: add libelf to buildInputs Signed-off-by: Christoph Hrdinka --- pkgs/os-specific/linux/bbswitch/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/bbswitch/default.nix b/pkgs/os-specific/linux/bbswitch/default.nix index 67b843fac4dc..eacddc715efa 100644 --- a/pkgs/os-specific/linux/bbswitch/default.nix +++ b/pkgs/os-specific/linux/bbswitch/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, fetchpatch, kernel }: +{ stdenv, fetchurl, fetchpatch, kernel, libelf }: let baseName = "bbswitch"; @@ -20,6 +20,8 @@ stdenv.mkDerivation { sha256 = "1lbr6pyyby4k9rn2ry5qc38kc738d0442jhhq57vmdjb6hxjya7m"; }) ]; + buildInputs = [ libelf ]; + hardeningDisable = [ "pic" ]; preBuild = ''