diff options
author | Mihai Fufezan <[email protected]> | 2024-07-21 20:54:57 +0300 |
---|---|---|
committer | Mihai Fufezan <[email protected]> | 2024-09-05 21:26:12 +0300 |
commit | c80457be02e7b75b590e025708fad38d84c99026 (patch) | |
tree | cb217212896f190eae74f7c94c9447cb3133360b /nix/default.nix | |
parent | 4a42c5ed20a6852e5e51c0f3893024f3b5c03500 (diff) | |
download | Hyprland-c80457be02e7b75b590e025708fad38d84c99026.tar.gz Hyprland-c80457be02e7b75b590e025708fad38d84c99026.zip |
nix: add COMMITS var
Diffstat (limited to 'nix/default.nix')
-rw-r--r-- | nix/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nix/default.nix b/nix/default.nix index e1a348b0..1c6a0113 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -39,6 +39,7 @@ wrapRuntimeDeps ? true, version ? "git", commit, + revCount, date, # deprecated flags enableNvidiaPatches ? false, @@ -73,7 +74,7 @@ assert lib.assertMsg (!hidpiXWayland) "The option `hidpiXWayland` has been remov sed -i "s#@PREFIX@/##g" hyprland.pc.in ''; - COMMITS = commit; + COMMITS = revCount; DATE = date; DIRTY = lib.optionalString (commit == "") "dirty"; HASH = commit; |