summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/graphics/antimony
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-04-16 23:01:16 +0300
committerNikolay Amiantov <ab@fmap.me>2016-04-20 18:55:40 +0300
commit62e3430b132397c57b154db3f4c871212a0d813d (patch)
treee8d456a3b041180883515bac8ae0f8c4570628c1 /pkgs/applications/graphics/antimony
parentde7d8e64cf1895fa3153608295400e3b70a64b5e (diff)
antimony: move to qmakeHook
Diffstat (limited to 'pkgs/applications/graphics/antimony')
-rw-r--r--pkgs/applications/graphics/antimony/default.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/applications/graphics/antimony/default.nix b/pkgs/applications/graphics/antimony/default.nix
index fa9a7e0fdd3f..50b33096e3d2 100644
--- a/pkgs/applications/graphics/antimony/default.nix
+++ b/pkgs/applications/graphics/antimony/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchgit, libpng, python3, boost, mesa, qtbase, ncurses }:
+{ stdenv, fetchgit, libpng, python3, boost, mesa, qtbase, qmakeHook, ncurses }:
let
gitRev = "745eca3a2d2657c495d5509e9083c884e021d09c";
@@ -31,16 +31,14 @@ in
mesa qtbase ncurses
];
- configurePhase = ''
- runHook preConfigure
+ nativeBuildHooks = [ qmakeHook ];
+
+ preConfigure = ''
export GITREV=${gitRev}
export GITBRANCH=${gitBranch}
export GITTAG=${gitTag}
cd qt
- export sourceRoot=$sourceRoot/qt
- qmake antimony.pro PREFIX=$out
- runHook postConfigure
'';
enableParallelBuilding = true;