summary refs log tree commit diff
path: root/pkgs/applications/graphics/openscad
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2013-04-25 08:28:54 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2013-04-25 08:41:46 +0200
commit7c3c839fb6d7368409c6a5684088499fc46a58d1 (patch)
tree4c8475350357a764057cfe6aa7afd7a6cd1888b1 /pkgs/applications/graphics/openscad
parent9f04208116d21dc7e2e542ccfd3b4433cfd96610 (diff)
downloadnixpkgs-7c3c839fb6d7368409c6a5684088499fc46a58d1.tar
nixpkgs-7c3c839fb6d7368409c6a5684088499fc46a58d1.tar.gz
nixpkgs-7c3c839fb6d7368409c6a5684088499fc46a58d1.tar.bz2
nixpkgs-7c3c839fb6d7368409c6a5684088499fc46a58d1.tar.lz
nixpkgs-7c3c839fb6d7368409c6a5684088499fc46a58d1.tar.xz
nixpkgs-7c3c839fb6d7368409c6a5684088499fc46a58d1.tar.zst
nixpkgs-7c3c839fb6d7368409c6a5684088499fc46a58d1.zip
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.
Diffstat (limited to 'pkgs/applications/graphics/openscad')
-rw-r--r--pkgs/applications/graphics/openscad/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/openscad/default.nix b/pkgs/applications/graphics/openscad/default.nix
index 1f1bc052a6f..64cbdb0ca9a 100644
--- a/pkgs/applications/graphics/openscad/default.nix
+++ b/pkgs/applications/graphics/openscad/default.nix
@@ -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;