nextcloud-client: use cmakeDir and cmakeFlags attrs
This commit is contained in:
parent
a7637b3795
commit
ebb6488e74
@ -14,9 +14,15 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ pkgconfig cmake ];
|
nativeBuildInputs = [ pkgconfig cmake ];
|
||||||
buildInputs = [ qtbase qtwebkit qtkeychain sqlite ];
|
buildInputs = [ qtbase qtwebkit qtkeychain sqlite ];
|
||||||
|
|
||||||
preConfigure = ''
|
dontUseCmakeBuildDir = true;
|
||||||
cmakeFlagsArray+=("-UCMAKE_INSTALL_LIBDIR" "-DOEM_THEME_DIR=$(realpath ./nextcloudtheme)" "../client")
|
|
||||||
'';
|
cmakeDir = "client";
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-UCMAKE_INSTALL_LIBDIR"
|
||||||
|
"-DCMAKE_BUILD_TYPE=Release"
|
||||||
|
"-DOEM_THEME_DIR=${src}/nextcloudtheme"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Nextcloud themed desktop client";
|
description = "Nextcloud themed desktop client";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user