fix missing XDG_DATA_DIRS on NixOS

This commit is contained in:
2025-12-18 00:11:55 +03:00
parent 0acb36445f
commit 4c0502d8ee
2 changed files with 11 additions and 9 deletions

View File

@@ -5,6 +5,7 @@
git,
pkg-config,
makeWrapper,
wrapGAppsHook3,
wayland-protocols,
glfw,
freetype,
@@ -17,7 +18,9 @@
bzip2,
wayland-scanner,
gtk3,
semver
glib,
gsettings-desktop-schemas,
semver,
}:
stdenv.mkDerivation rec {
@@ -49,6 +52,7 @@ stdenv.mkDerivation rec {
git
pkg-config
makeWrapper
wrapGAppsHook3
wayland-protocols
];
@@ -69,6 +73,8 @@ stdenv.mkDerivation rec {
zlib
bzip2
gtk3
gsettings-desktop-schemas
glib
];
cmakeFlags = [
@@ -82,21 +88,17 @@ stdenv.mkDerivation rec {
cmake --install . --prefix $out
wrapProgram $out/bin/clrsync_gui \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath buildInputs}
wrapProgram $out/bin/clrsync_cli \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath buildInputs}
runHook postInstall
'';
dontWrapGApps = false;
meta = with lib; {
description = "Color scheme manager with GUI and CLI";
homepage = "https://github.com/obsqrbtz/clrsync";
license = licenses.mit;
platforms = platforms.linux;
mainProgram = "clrsync_gui";
maintainers = [ ];
maintainers = [ "Daniel Dada" ];
};
}

View File

@@ -6,7 +6,7 @@
namespace clrsync::core
{
const std::string GIT_SEMVER = "0.1.5+git.gb98761a";
const std::string GIT_SEMVER = "0.1.5+git.g0acb364";
const std::string version_string();
} // namespace clrsync::core