git.iko.soy/typeable/nixpkgs
on master help sign in
povray: fix build and add platforms
commitca2d7774e006dcf2a6f642e9b4a0e3b2df0ade02 authorLuca Bruno <lucabru@src.gnome.org> dateSun 15 Feb 2015, 18:33 (12 years ago) parent934f972
1 file changed+6−3
pkgs/tools/graphics/povray/default.nix+6−3
pkgs/tools/graphics/povray/default.nix+6−3
@@ -23,8 +23,10 @@ stdenv.mkDerivation {
2323 sed -i -e 's/^povgroup.*/povgroup=nogroup/' Makefile.{am,in}
2424 '';
2525
26− configureFlags = [ "COMPILED_BY='nix'" ];
26+ configureFlags = [ "COMPILED_BY='nix'" "--with-boost-thread=boost_thread" ];
2727
28+ enableParallelBuilding = true;
29+
2830 preInstall = ''
2931 mkdir "$TMP/bin"
3032 for i in chown chgrp; do
@@ -34,9 +36,10 @@ stdenv.mkDerivation {
3436 done
3537 '';
3638
37− meta = {
39+ meta = with stdenv.lib; {
3840 homepage = http://www.povray.org/;
3941 description = "Persistence of Vision Raytracer";
40− license = stdenv.lib.licenses.free;
42+ license = licenses.free;
43+ platforms = platforms.linux;
4144 };
4245}