aboutsummaryrefslogtreecommitdiffhomepage
path: root/flake.nix
diff options
context:
space:
mode:
authorMihai Fufezan <[email protected]>2023-03-04 17:34:15 +0200
committerMihai Fufezan <[email protected]>2023-03-04 18:22:36 +0200
commit5184b542b1f505c90f9ef4715ae949ac45b2b7ef (patch)
tree42f030e8b57d590dad260464fc2abf7bdb5d105a /flake.nix
parentfea2031bfe3fe66e5e30b3f3709683ee445fcfc1 (diff)
downloadHyprland-5184b542b1f505c90f9ef4715ae949ac45b2b7ef.tar.gz
Hyprland-5184b542b1f505c90f9ef4715ae949ac45b2b7ef.zip
nix: show commit in hyprctl
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index f2a08dc0..24983119 100644
--- a/flake.nix
+++ b/flake.nix
@@ -79,6 +79,7 @@
stdenv = prev.gcc12Stdenv;
version = props.version + "+date=" + (mkDate (self.lastModifiedDate or "19700101")) + "_" + (self.shortRev or "dirty");
wlroots = wlroots-hyprland;
+ commit = self.rev or "";
inherit (inputs.hyprland-protocols.packages.${prev.stdenv.hostPlatform.system}) hyprland-protocols;
inherit udis86;
};