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,
|
git,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
|
wrapGAppsHook3,
|
||||||
wayland-protocols,
|
wayland-protocols,
|
||||||
glfw,
|
glfw,
|
||||||
freetype,
|
freetype,
|
||||||
@@ -17,7 +18,9 @@
|
|||||||
bzip2,
|
bzip2,
|
||||||
wayland-scanner,
|
wayland-scanner,
|
||||||
gtk3,
|
gtk3,
|
||||||
semver
|
glib,
|
||||||
|
gsettings-desktop-schemas,
|
||||||
|
semver,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@@ -49,6 +52,7 @@ stdenv.mkDerivation rec {
|
|||||||
git
|
git
|
||||||
pkg-config
|
pkg-config
|
||||||
makeWrapper
|
makeWrapper
|
||||||
|
wrapGAppsHook3
|
||||||
wayland-protocols
|
wayland-protocols
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -69,6 +73,8 @@ stdenv.mkDerivation rec {
|
|||||||
zlib
|
zlib
|
||||||
bzip2
|
bzip2
|
||||||
gtk3
|
gtk3
|
||||||
|
gsettings-desktop-schemas
|
||||||
|
glib
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
@@ -82,21 +88,17 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
cmake --install . --prefix $out
|
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
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
dontWrapGApps = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Color scheme manager with GUI and CLI";
|
description = "Color scheme manager with GUI and CLI";
|
||||||
homepage = "https://github.com/obsqrbtz/clrsync";
|
homepage = "https://github.com/obsqrbtz/clrsync";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
mainProgram = "clrsync_gui";
|
mainProgram = "clrsync_gui";
|
||||||
maintainers = [ ];
|
maintainers = [ "Daniel Dada" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
namespace clrsync::core
|
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();
|
const std::string version_string();
|
||||||
} // namespace clrsync::core
|
} // namespace clrsync::core
|
||||||
|
|||||||
Reference in New Issue
Block a user