Skip to content

Commit

Permalink
EmptyEpsilon: fix version numbering (NixOS#47546)
Browse files Browse the repository at this point in the history
  • Loading branch information
rys ostrovid authored and Mic92 committed Oct 1, 2018
1 parent 97920e9 commit 3ac175e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/games/empty-epsilon/default.nix
Expand Up @@ -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}";
Expand Down Expand Up @@ -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; {
Expand Down

0 comments on commit 3ac175e

Please sign in to comment.