EmptyEpsilon: fix version numbering (#47546)

This commit is contained in:
rys ostrovid 2018-10-01 09:09:28 +02:00 committed by Jörg Thalheim
parent 97920e9fad
commit 3ac175e61f

View File

@ -2,7 +2,11 @@
let
version = "2018.02.15";
major = "2018";
minor = "02";
patch = "15";
version = "${major}.${minor}.${patch}";
serious-proton = stdenv.mkDerivation rec {
name = "serious-proton-${version}";
@ -46,6 +50,10 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DSERIOUS_PROTON_DIR=${serious-proton.src}"
"-DCPACK_PACKAGE_VERSION=${version}"
"-DCPACK_PACKAGE_VERSION_MAJOR=${major}"
"-DCPACK_PACKAGE_VERSION_MINOR=${minor}"
"-DCPACK_PACKAGE_VERSION_PATCH=${patch}"
];
meta = with lib; {