Nix: add shortRev to version

This commit is contained in:
Mihai Fufezan 2022-08-23 00:16:57 +03:00
parent fb0e81c18e
commit 8feb6f7da1
No known key found for this signature in database
GPG key ID: 5899325F2F120900

View file

@ -34,7 +34,7 @@
});
hyprland = prev.callPackage ./nix/default.nix {
stdenv = prev.gcc12Stdenv;
version = "0.10.0beta" + "+date=" + (mkDate (self.lastModifiedDate or "19700101"));
version = "0.11.0beta" + "+date=" + (mkDate (self.lastModifiedDate or "19700101")) + "_" + (self.shortRev or "dirty");
wlroots = wlroots-hyprland;
};
hyprland-debug = hyprland.override {debug = true;};