aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/graphics/apitrace
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-02-28 15:46:39 +0300
committerNikolay Amiantov <ab@fmap.me>2016-02-28 15:55:45 +0300
commit1af8a3498cdc9c2441b20475e39123855b543cf8 (patch)
tree9db5cbe9c1b603710fc21102d1ff947c169bce8f /pkgs/applications/graphics/apitrace
parent3344f02b3b038e2cb88803b6de4f27b4f3127efe (diff)
apitrace: add qapitrace and backtracing support
Diffstat (limited to 'pkgs/applications/graphics/apitrace')
-rw-r--r--pkgs/applications/graphics/apitrace/default.nix12
1 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/applications/graphics/apitrace/default.nix b/pkgs/applications/graphics/apitrace/default.nix
index f54628e0b8d..e130b23a8aa 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;