diff options
-rw-r--r-- | pkgs/applications/graphics/apitrace/default.nix | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/applications/graphics/apitrace/default.nix b/pkgs/applications/graphics/apitrace/default.nix index f54628e0b8ded..e130b23a8aaae 100644 --- a/pkgs/applications/graphics/apitrace/default.nix +++ b/pkgs/applications/graphics/apitrace/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, cmake, libX11, procps, python, qtbase }: +{ stdenv, fetchFromGitHub, cmake, libX11, procps, python, libdwarf, qtbase, qtwebkit }: stdenv.mkDerivation rec { name = "apitrace-${version}"; @@ -11,13 +11,11 @@ stdenv.mkDerivation rec { owner = "apitrace"; }; - buildInputs = [ libX11 procps python qtbase ]; - nativeBuildInputs = [ cmake ]; + # LD_PRELOAD wrappers need to be statically linked to work against all kinds + # of games -- so it's fine to use e.g. bundled snappy. + buildInputs = [ libX11 procps python libdwarf qtbase qtwebkit ]; - buildPhase = '' - cmake - make - ''; + nativeBuildInputs = [ cmake ]; meta = with stdenv.lib; { homepage = https://apitrace.github.io; |