diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-04-16 22:59:20 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-04-20 18:55:51 +0300 |
commit | ac1a531933a25cce11465bc8cd24f2a6c12a4915 (patch) | |
tree | f42ef4cf54548c6ad0fafa6e14a082b310a5b00d /pkgs/development/libraries/libcommuni | |
parent | 4b5bf1916ad705453b4fbb737d0a1a1dac2aacd4 (diff) | |
download | nixpkgs-ac1a531933a25cce11465bc8cd24f2a6c12a4915.tar nixpkgs-ac1a531933a25cce11465bc8cd24f2a6c12a4915.tar.gz nixpkgs-ac1a531933a25cce11465bc8cd24f2a6c12a4915.tar.bz2 nixpkgs-ac1a531933a25cce11465bc8cd24f2a6c12a4915.tar.lz nixpkgs-ac1a531933a25cce11465bc8cd24f2a6c12a4915.tar.xz nixpkgs-ac1a531933a25cce11465bc8cd24f2a6c12a4915.tar.zst nixpkgs-ac1a531933a25cce11465bc8cd24f2a6c12a4915.zip |
libcommuni: move to qmakeHook
This reverts commit ee1af147f35818f60d3cd6192a4828abdbfdc632.
Diffstat (limited to 'pkgs/development/libraries/libcommuni')
-rw-r--r-- | pkgs/development/libraries/libcommuni/default.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/development/libraries/libcommuni/default.nix b/pkgs/development/libraries/libcommuni/default.nix index 008311c620c..7b83be7e911 100644 --- a/pkgs/development/libraries/libcommuni/default.nix +++ b/pkgs/development/libraries/libcommuni/default.nix @@ -1,4 +1,4 @@ -{ fetchgit, qt5, stdenv +{ fetchgit, qtbase, qmakeHook, stdenv }: stdenv.mkDerivation rec { @@ -11,16 +11,16 @@ stdenv.mkDerivation rec { sha256 = "15sb7vinaaz1v5nclxpnp5p9a0kmfmlgiqibkipnyydizclidpfx"; }; - buildInputs = [ qt5.qtbase ]; + buildInputs = [ qtbase ]; + nativeBuildInputs = [ qmakeHook ]; enableParallelBuild = true; - postPatch = '' - sed -i -e 's|/bin/pwd|pwd|g' -e 's/which/type -P/' configure + configurePhase = '' + sed -i -e 's|/bin/pwd|pwd|g' configure + ./configure -config release -prefix $out -qmake $QMAKE ''; - configureFlags = [ "-config release" ]; - meta = with stdenv.lib; { description = "A cross-platform IRC framework written with Qt"; homepage = https://communi.github.io; |