mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-20 23:51:40 +01:00
fix(nix): do not require dirtyRev in the root flake
A path flake (a jj workspace without .git) has neither rev nor dirtyRev, so the commit stamp default in mkKomorebiPackages failed to evaluate. It now falls back to "unknown", as the nested flakes do. Verified: nix eval --raw .#checks.x86_64-linux.komorebi-workspace-clippy.drvPath now prints z9nb5j12qlfp1j8d71ykp9qnafk553ra-komorebi-workspace-clippy-0.1.0.drv (it failed before); .#packages.x86_64-linux.default.drvPath is cq0i40300hgsm0ih2llcdjpkcg9sfqaf-komorebi-workspace-0.1.0.drv. Neither was built.
This commit is contained in:
1 parent
4fc3f8e139
commit
a57ca82f0c
1 file changed
+1
-1
@@ -173,7 +173,7 @@
|
||||
windowsSdk,
|
||||
# the commit stamped into the binaries; a build for the e2e guest
|
||||
# gives a constant one, so that a new commit does not rebuild it
|
||||
commit ? self.rev or (pkgs.lib.removeSuffix "-dirty" self.dirtyRev),
|
||||
commit ? self.rev or (pkgs.lib.removeSuffix "-dirty" (self.dirtyRev or "unknown")),
|
||||
}:
|
||||
let
|
||||
# toolchain with windows msvc target
|
||||
|
||||
Reference in new issue
Block a user