From ae7fae71ed4d2e4666a11b7ab60e50dffb71a282 Mon Sep 17 00:00:00 2001 From: Luke Adams Date: Thu, 1 Mar 2018 16:55:38 -0600 Subject: [PATCH] prl-tools: add libelf input fixes build on 18.03 --- pkgs/os-specific/linux/prl-tools/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/prl-tools/default.nix b/pkgs/os-specific/linux/prl-tools/default.nix index b120062295a..593b810dae5 100644 --- a/pkgs/os-specific/linux/prl-tools/default.nix +++ b/pkgs/os-specific/linux/prl-tools/default.nix @@ -2,6 +2,7 @@ , gawk, utillinux, xorg, glib, dbus-glib, zlib , kernel ? null, libsOnly ? false , undmg, fetchurl +, libelf }: assert (!libsOnly) -> kernel != null; @@ -27,7 +28,7 @@ stdenv.mkDerivation rec { hardeningDisable = [ "pic" "format" ]; # also maybe python2 to generate xorg.conf - nativeBuildInputs = [ p7zip undmg ] ++ lib.optionals (!libsOnly) [ makeWrapper ]; + nativeBuildInputs = [ p7zip undmg libelf ] ++ lib.optionals (!libsOnly) [ makeWrapper ]; inherit libsOnly;