From 4c0502d8eee451f33c2181015bf362307b8ff0d1 Mon Sep 17 00:00:00 2001 From: Daniel Dada Date: Thu, 18 Dec 2025 00:11:55 +0300 Subject: [PATCH] fix missing XDG_DATA_DIRS on NixOS --- package.nix | 18 ++++++++++-------- src/core/version.hpp | 2 +- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/package.nix b/package.nix index a3a367b..869e3de 100644 --- a/package.nix +++ b/package.nix @@ -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" ]; }; } diff --git a/src/core/version.hpp b/src/core/version.hpp index 403049a..a8841d7 100644 --- a/src/core/version.hpp +++ b/src/core/version.hpp @@ -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