Nix: fix GIT_* env vars
This commit is contained in:
parent
c7e14ecd30
commit
d2d1613e4f
1 changed files with 7 additions and 5 deletions
|
|
@ -106,11 +106,13 @@ in
|
||||||
sed -i "s#@PREFIX@/##g" hyprland.pc.in
|
sed -i "s#@PREFIX@/##g" hyprland.pc.in
|
||||||
'';
|
'';
|
||||||
|
|
||||||
COMMITS = revCount;
|
env = {
|
||||||
DATE = date;
|
GIT_COMMITS = revCount;
|
||||||
DIRTY = optionalString (commit == "") "dirty";
|
GIT_COMMIT_DATE = date;
|
||||||
HASH = commit;
|
GIT_COMMIT_HASH = commit;
|
||||||
TAG = "v${trim (readFile "${finalAttrs.src}/VERSION")}";
|
GIT_DIRTY = if (commit == "") then "clean" else "dirty";
|
||||||
|
GIT_TAG = "v${trim (readFile "${finalAttrs.src}/VERSION")}";
|
||||||
|
};
|
||||||
|
|
||||||
depsBuildBuild = [
|
depsBuildBuild = [
|
||||||
pkg-config
|
pkg-config
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue