diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-04-15 04:33:26 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-04-15 05:26:02 +0200 |
commit | fab7c7edbf5ad756b60c975dd6c4fd0362719e13 (patch) | |
tree | df1e1ae1eeaf096150e7afb146dc34750cf42122 /pkgs/applications/misc/twmn | |
parent | 0cfff33f59131ec124b0e1c0de2a8a69ef4af896 (diff) |
twmn: Fix running of {pre,post}Configure
Commit 0055c6a introduced a new preConfigure hook that sets the right qmake path. Unfortunately the mkDerivation attributes of twmn override the whole configurePhase, so this hook isn't run at all. This fixes the build of twmn and it now successfully compiles on my machine. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/applications/misc/twmn')
-rw-r--r-- | pkgs/applications/misc/twmn/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/misc/twmn/default.nix b/pkgs/applications/misc/twmn/default.nix index bb3f359ab8ff4..fbbf45877d23e 100644 --- a/pkgs/applications/misc/twmn/default.nix +++ b/pkgs/applications/misc/twmn/default.nix @@ -12,8 +12,10 @@ stdenv.mkDerivation rec { buildInputs = [ qtbase qtx11extras pkgconfig boost ]; configurePhase = '' + runHook preConfigure sed -i s/-Werror// twmnd/twmnd.pro qmake + runHook postConfigure ''; installPhase = '' |