diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-04-16 22:59:18 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-04-20 18:55:44 +0300 |
commit | 9f3368e52d1fa1445fa88b07df7b0961b00413eb (patch) | |
tree | 63aff67453a5a2146437b980e9a1456b6e0ae0ca /pkgs/applications/misc/twmn | |
parent | bc428f9429d0b5ac31e99cc190195749070945fd (diff) | |
download | nixlib-9f3368e52d1fa1445fa88b07df7b0961b00413eb.tar nixlib-9f3368e52d1fa1445fa88b07df7b0961b00413eb.tar.gz nixlib-9f3368e52d1fa1445fa88b07df7b0961b00413eb.tar.bz2 nixlib-9f3368e52d1fa1445fa88b07df7b0961b00413eb.tar.lz nixlib-9f3368e52d1fa1445fa88b07df7b0961b00413eb.tar.xz nixlib-9f3368e52d1fa1445fa88b07df7b0961b00413eb.tar.zst nixlib-9f3368e52d1fa1445fa88b07df7b0961b00413eb.zip |
twmn: move to qmakeHook
This reverts commit fab7c7edbf5ad756b60c975dd6c4fd0362719e13.
Diffstat (limited to 'pkgs/applications/misc/twmn')
-rw-r--r-- | pkgs/applications/misc/twmn/default.nix | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/pkgs/applications/misc/twmn/default.nix b/pkgs/applications/misc/twmn/default.nix index fbbf45877d23..665e23237d8e 100644 --- a/pkgs/applications/misc/twmn/default.nix +++ b/pkgs/applications/misc/twmn/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv, fetchgit, qtbase, qtx11extras, pkgconfig, boost }: +{ fetchurl, stdenv, fetchgit, qtbase, qtx11extras, qmakeHook, pkgconfig, boost }: stdenv.mkDerivation rec { name = "twmn-git-2014-09-23"; @@ -9,13 +9,10 @@ stdenv.mkDerivation rec { sha256 = "9c91e9d3d6d7f9d90d34da6f1a4b9f3dee65605c1e43729417d6921c54dded6b"; }; - buildInputs = [ qtbase qtx11extras pkgconfig boost ]; + buildInputs = [ qtbase qtx11extras pkgconfig boost qmakeHook ]; - configurePhase = '' - runHook preConfigure + postPatch = '' sed -i s/-Werror// twmnd/twmnd.pro - qmake - runHook postConfigure ''; installPhase = '' |