diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-04-17 02:23:21 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-04-20 18:55:38 +0300 |
commit | 9fe57fa988da1e9ea67dff2163dbc445efa28f1c (patch) | |
tree | 88d532598ffa20799c577093dea2d0f3adb999c1 /pkgs/applications/altcoins | |
parent | b857459bdbce58c833845b6adfdc68b1a204bed5 (diff) | |
download | nixlib-9fe57fa988da1e9ea67dff2163dbc445efa28f1c.tar nixlib-9fe57fa988da1e9ea67dff2163dbc445efa28f1c.tar.gz nixlib-9fe57fa988da1e9ea67dff2163dbc445efa28f1c.tar.bz2 nixlib-9fe57fa988da1e9ea67dff2163dbc445efa28f1c.tar.lz nixlib-9fe57fa988da1e9ea67dff2163dbc445efa28f1c.tar.xz nixlib-9fe57fa988da1e9ea67dff2163dbc445efa28f1c.tar.zst nixlib-9fe57fa988da1e9ea67dff2163dbc445efa28f1c.zip |
memorycoin: move to qmake4Hook
Diffstat (limited to 'pkgs/applications/altcoins')
-rw-r--r-- | pkgs/applications/altcoins/memorycoin.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/applications/altcoins/memorycoin.nix b/pkgs/applications/altcoins/memorycoin.nix index 4e5e24e3062a..0470fd21eaea 100644 --- a/pkgs/applications/altcoins/memorycoin.nix +++ b/pkgs/applications/altcoins/memorycoin.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, pkgconfig, openssl, db48, boost -, zlib, miniupnpc, qt4, utillinux, protobuf, qrencode +, zlib, miniupnpc, qt4, qmake4Hook, utillinux, protobuf, qrencode , withGui }: with stdenv.lib; @@ -15,13 +15,11 @@ stdenv.mkDerivation rec{ buildInputs = [ pkgconfig openssl db48 boost zlib miniupnpc utillinux protobuf ] - ++ optionals withGui [ qt4 qrencode ]; + ++ optionals withGui [ qt4 qmake4Hook qrencode ]; configureFlags = [ "--with-boost-libdir=${boost.lib}/lib" ] ++ optionals withGui [ "--with-gui=qt4" ]; - configurePhase = optional withGui "qmake"; - preBuild = optional (!withGui) "cd src; cp makefile.unix Makefile"; installPhase = |