Set GIT_REV in flake
All checks were successful
Push Workflows / rustfmt (push) Successful in 5s
Push Workflows / tailwind-build (push) Successful in 4s
Push Workflows / test (push) Successful in 17s
Push Workflows / docs (push) Successful in 17s
Push Workflows / clippy (push) Successful in 14s
Push Workflows / build (push) Successful in 39s
Push Workflows / nix-build (push) Successful in 4m47s

This commit is contained in:
2026-06-20 22:47:49 -04:00
parent 7c2c76ebd5
commit 5f8d96b6ae

View File

@@ -85,6 +85,8 @@
tailwindcss_4 tailwindcss_4
postgresql postgresql
]; ];
rev = if builtins.hasAttr "rev" self then self.rev else self.dirtyRev;
in in
rec { rec {
devShells.default = pkgs.mkShell { devShells.default = pkgs.mkShell {
@@ -104,6 +106,7 @@
DAISYUI_PATH = "${daisyui}"; DAISYUI_PATH = "${daisyui}";
DAISYUI_THEME_PATH = "${daisyui-theme}"; DAISYUI_THEME_PATH = "${daisyui-theme}";
GIT_REV = rev;
cargoLock.lockFile = ./Cargo.lock; cargoLock.lockFile = ./Cargo.lock;