mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
parent
31d6dd6be0
commit
068c7b68a2
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitLab, doxygen, glib, libaccounts-glib, pkgconfig, qtbase }:
|
||||
{ stdenv, fetchFromGitLab, doxygen, glib, libaccounts-glib, pkgconfig, qtbase, qmakeHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "accounts-qt-${version}";
|
||||
@ -12,12 +12,10 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ glib libaccounts-glib qtbase ];
|
||||
nativeBuildInputs = [ doxygen pkgconfig ];
|
||||
nativeBuildInputs = [ doxygen pkgconfig qmakeHook ];
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
qmake PREFIX=$out LIBDIR=$out/lib CMAKE_CONFIG_PATH=$out/lib/cmake
|
||||
runHook postConfigure
|
||||
preConfigure = ''
|
||||
qmakeFlags="$qmakeFlags LIBDIR=$out/lib CMAKE_CONFIG_PATH=$out/lib/cmake"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user