mirror of
https://github.com/wentasah/ros2nix.git
synced 2025-06-10 00:02:23 +03:00
Make ros2nix version (date-time) more human readable
This commit is contained in:
parent
8736e74512
commit
8a9f703575
1 changed files with 2 additions and 1 deletions
|
@ -56,7 +56,8 @@
|
||||||
});
|
});
|
||||||
ros2nix = pkgs.python3Packages.buildPythonApplication {
|
ros2nix = pkgs.python3Packages.buildPythonApplication {
|
||||||
pname = "ros2nix";
|
pname = "ros2nix";
|
||||||
version = inputs.self.lastModifiedDate;
|
version = let lmd = self.lastModifiedDate; in with builtins;
|
||||||
|
"${substring 0 8 lmd}-${substring 8 6 lmd}";
|
||||||
src = pkgs.lib.cleanSource ./.;
|
src = pkgs.lib.cleanSource ./.;
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue