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:
@@ -2,13 +2,12 @@
|
||||
, cmake
|
||||
, gettext
|
||||
, libSrc
|
||||
, libVersion
|
||||
}:
|
||||
let
|
||||
mkLib = name:
|
||||
stdenv.mkDerivation {
|
||||
pname = "kicad-${name}";
|
||||
version = libVersion;
|
||||
version = builtins.substring 0 10 (libSrc name).rev;
|
||||
|
||||
src = libSrc name;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user