Platform refinement.

This should be stable under regeneration with hackage4nix.

svn path=/nixpkgs/trunk/; revision=34189
This commit is contained in:
Andres Löh 2012-05-20 20:21:55 +00:00
parent 56a2503c80
commit 5144845d71
2 changed files with 2 additions and 1 deletions

View file

@ -17,7 +17,7 @@ cabal.mkDerivation (self: {
homepage = "http://www.cse.unsw.edu.au/~chak/project/accelerate/";
description = "Accelerate backend for NVIDIA GPUs";
license = self.stdenv.lib.licenses.bsd3;
platforms = [];
platforms = self.stdenv.lib.platforms.none;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})

View file

@ -11,6 +11,7 @@ rec {
cygwin = ["i686-cygwin"];
unix = linux ++ darwin ++ freebsd ++ openbsd;
all = linux ++ darwin ++ cygwin ++ freebsd ++ openbsd;
none = [];
allBut = platform: lists.filter (x: platform != x) all;
mesaPlatforms = linux;
}