openscad: compile the correct version number

The default version info that is compiled into openscad is the build
date(!). Force the version to the actual release version instead.
This commit is contained in:
Bjørn Forsman 2013-04-25 08:28:54 +02:00
parent 9f04208116
commit 7c3c839fb6

View File

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
configurePhase = ''
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$(echo ${eigen}/include/eigen*) "
qmake PREFIX="$out"
qmake PREFIX="$out" VERSION=${version}
'';
doCheck = false;