kicad: avoid rebuild on date change

the date changes more often than most of the inputs
the date can also change on the base without other changes
  this causes a substantial rebuild for no reason
This commit is contained in:
Evils
2021-05-14 09:03:53 +02:00
parent 7dc05fed4f
commit e37d772beb
4 changed files with 7 additions and 11 deletions
@@ -61,7 +61,7 @@ let
in
stdenv.mkDerivation rec {
pname = "kicad-base";
version = kicadVersion;
version = if (stable) then kicadVersion else builtins.substring 0 10 src.rev;
src = kicadSrc;