mirror of
https://github.com/oxalica/nil.git
synced 2025-12-23 09:19:49 +00:00
parent
e72b98fed5
commit
ff231923ed
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ rec {
|
|||
|
||||
mtime = self.lastModifiedDate;
|
||||
date = "${substring 0 4 mtime}-${substring 4 2 mtime}-${substring 6 2 mtime}";
|
||||
rev = self.rev or (throw "Git changes are not committed");
|
||||
rev = self.rev or (lib.warn "Git changes are not committed" (self.dirtyRev or "dirty"));
|
||||
|
||||
mkNil = { rustPlatform, nixUnstable, ... }:
|
||||
rustPlatform.buildRustPackage {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue