mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
build(nix): refactor some code
This commit is contained in:
parent
149763d54a
commit
8014730d64
@ -9,9 +9,9 @@
|
||||
sourceInfo = inputs.self.sourceInfo;
|
||||
dateTimeFormat = import ./nix/dateTimeFormat.nix;
|
||||
dateTime = dateTimeFormat sourceInfo.lastModified;
|
||||
rev = sourceInfo.rev or "dirty";
|
||||
shortRev = sourceInfo.shortRev or "dirty";
|
||||
in {
|
||||
prettyRev = (builtins.substring 0 8 rev) + "/" + dateTime;
|
||||
prettyRev = shortRev + "/" + dateTime;
|
||||
tag = "";
|
||||
};
|
||||
outputs = inputs.nci.lib.makeOutputs {
|
||||
|
Loading…
Reference in New Issue
Block a user