tweaking some settings

This commit is contained in:
Chris Cochrun 2022-05-27 09:45:15 -05:00
parent cf69aee709
commit 5c5b3dcf60
8 changed files with 263 additions and 14 deletions

View file

@ -13,6 +13,7 @@
# kcoreaddons,
# systemsettings,
cmake,
qt5Full,
extra-cmake-modules,
wrapQtAppsHook,
libepoxy,
@ -22,19 +23,20 @@
stdenv.mkDerivation rec {
pname = "LightlyShaders";
version = "0.0.4";
version = "0.1.4";
src = fetchFromGitHub {
owner = "a-parhom";
repo = "LightlyShaders";
rev = "0294499afece1620f47fa38fa74fa8604077347f";
sha256 = "MJk2pXRmyZDZX7KeZBHNKi0WQcQwqTM1nZWTWSxnvfc=";
sha256 = "8EL1e4YKY63U7kvqBLfqSzYHdls1BD6OYh4X5+B7EcQ=";
};
# dontWrapQtApps = true;
buildInputs = [
qtbase
qt5Full
# qtx11extras
# qttools
# kglobalaccel
@ -55,18 +57,20 @@ stdenv.mkDerivation rec {
wrapQtAppsHook
];
# preConfigure = ''
# # local modulepath=$(kf5-config --install module)
# # local datapath=$(kf5-config --install data)
# # local servicespath=$(kf5-config --install services)
# # substituteInPlace CMakeLists.txt \
# # --replace "\''${MODULEPATH}" "$out/''${modulepath#/nix/store/*/}" \
# # --replace "\''${DATAPATH}" "$out/''${datapath#/nix/store/*/}"
# # substituteInPlace CMakeLists.txt \
# # --replace "\''${MODULEPATH}" "$out/qt-5.15.3/plugins" \
# # --replace "\''${DATAPATH}" "$out/share"
# '';
postConfigure = ''
# local modulepath=$(kf5-config --install module)
# local datapath=$(kf5-config --install data)
# local servicespath=$(kf5-config --install services)
# substituteInPlace CMakeLists.txt \
# --replace "\''${MODULEPATH}" "$out/''${modulepath#/nix/store/*/}" \
# --replace "\''${DATAPATH}" "$out/''${datapath#/nix/store/*/}"
# substituteInPlace CMakeLists.txt \
# --replace "\''${MODULEPATH}" "$out/qt-5.15.3/plugins" \
# --replace "\''${DATAPATH}" "$out/share"
substituteInPlace cmake_install.cmake \
--replace "${kdelibs4support}" "$out"