diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-04-17 02:38:45 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-04-20 18:55:47 +0300 |
commit | a1fc9606f2ac655408605cc723cd2a3c3317a84c (patch) | |
tree | c79b5b5ca9921534e22f168b1e3b6c4e026af03e /pkgs/applications/networking/ostinato | |
parent | 3c52b4253cd468be7af4291a7c2a051e90a49b83 (diff) |
ostrinato: move to qmake4Hook
Diffstat (limited to 'pkgs/applications/networking/ostinato')
-rw-r--r-- | pkgs/applications/networking/ostinato/default.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/applications/networking/ostinato/default.nix b/pkgs/applications/networking/ostinato/default.nix index 1d5986dbfa64..022096450458 100644 --- a/pkgs/applications/networking/ostinato/default.nix +++ b/pkgs/applications/networking/ostinato/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchgit, fetchurl, writeText -, qt4, protobuf, libpcap +, qt4, qmake4Hook, protobuf, libpcap , wireshark, gzip, diffutils, gawk }: @@ -18,10 +18,9 @@ stdenv.mkDerivation rec { buildInputs = [ qt4 protobuf libpcap ]; - patches = [ ./drone_ini.patch ]; + nativeBuildInputs = [ qmake4Hook ]; - configurePhase = "qmake PREFIX=$out" - + stdenv.lib.optionalString stdenv.isDarwin " -spec macx-g++"; + patches = [ ./drone_ini.patch ]; postInstall = '' cat > $out/bin/ostinato.ini <<EOF |