mirror of
https://github.com/obsqrbtz/clrsync.git
synced 2026-04-08 20:19:04 +03:00
fix missing XDG_DATA_DIRS on NixOS
This commit is contained in:
18
package.nix
18
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" ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user