golden-cheetah: Fix evaluation

For now, disable the Dropbox configuration.
This commit is contained in:
Ollie Charles 2016-04-19 11:13:33 +01:00
parent c4ab7e2cd4
commit a74aa5bce7
2 changed files with 8 additions and 7 deletions

View File

@ -18,12 +18,13 @@ stdenv.mkDerivation rec {
echo 'QMAKE_LRELEASE = ${qttools}/bin/lrelease' >> src/gcconfig.pri
sed -i -e '21,23d' qwt/qwtconfig.pri # Removed forced installation to /usr/local
qmake PREFIX=$out build.pro
'' + (
with (config.golden-cheetah);
stdenv.lib.optionalString (dropbox-client-id != null && dropbox-client-secret != null) ''
echo 'DEFINES += GC_DROPBOX_CLIENT_ID=\\\"${config.golden-cheetah.dropbox-client-id}\\\"' >> src/gcconfig.pri
echo 'DEFINES += GC_DROPBOX_CLIENT_SECRET=\\\"${config.golden-cheetah.dropbox-client-secret}\\\"' >> src/gcconfig.pri
'');
'';
# + (
# with (config.golden-cheetah);
# stdenv.lib.optionalString (dropbox-client-id != null && dropbox-client-secret != null) ''
# echo 'DEFINES += GC_DROPBOX_CLIENT_ID=\\\"${config.golden-cheetah.dropbox-client-id}\\\"' >> src/gcconfig.pri
# echo 'DEFINES += GC_DROPBOX_CLIENT_SECRET=\\\"${config.golden-cheetah.dropbox-client-secret}\\\"' >> src/gcconfig.pri
# '');
installPhase = ''
mkdir -p $out/bin
cp src/GoldenCheetah $out/bin

View File

@ -16607,5 +16607,5 @@ in
discord = callPackage ../applications/networking/instant-messengers/discord { };
#golden-cheetah = qt5.callPackage ../applications/misc/golden-cheetah {};
golden-cheetah = qt5.callPackage ../applications/misc/golden-cheetah {};
}