hyprland: update env variables, add muparser dep
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
libuuid,
|
||||
libxkbcommon,
|
||||
libgbm,
|
||||
muparser,
|
||||
pango,
|
||||
pciutils,
|
||||
pkgconf,
|
||||
@@ -109,14 +110,16 @@ customStdenv.mkDerivation (finalAttrs: {
|
||||
sed -i "s#@PREFIX@/##g" hyprland.pc.in
|
||||
'';
|
||||
|
||||
# variables used by generateVersion.sh script, and shown in `hyprctl version`
|
||||
BRANCH = info.branch;
|
||||
COMMITS = info.commit_hash;
|
||||
DATE = info.date;
|
||||
DIRTY = "";
|
||||
HASH = info.commit_hash;
|
||||
MESSAGE = info.commit_message;
|
||||
TAG = info.tag;
|
||||
# variables used by CMake, and shown in `hyprctl version`
|
||||
env = {
|
||||
GIT_BRANCH = info.branch;
|
||||
GIT_COMMITS = info.commit_hash;
|
||||
GIT_COMMIT_DATE = info.date;
|
||||
GIT_DIRTY = "clean";
|
||||
GIT_COMMIT_HASH = info.commit_hash;
|
||||
GIT_COMMIT_MESSAGE = info.commit_message;
|
||||
GIT_TAG = info.tag;
|
||||
};
|
||||
|
||||
depsBuildBuild = [
|
||||
# to find wayland-scanner when cross-compiling
|
||||
@@ -157,6 +160,7 @@ customStdenv.mkDerivation (finalAttrs: {
|
||||
libuuid
|
||||
libxkbcommon
|
||||
libgbm
|
||||
muparser
|
||||
pango
|
||||
pciutils
|
||||
re2
|
||||
|
||||
Reference in New Issue
Block a user