3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs
Peter Simons 89c566fcfd pkgs/development/compilers/ghc/with-packages.nix: improve recognition of Haskell packages
Haskell packages -- i.e. packages built by our Cabal builder -- invariably have
the attributes 'pname' and 'version'. We use the absence of these attributes to
recognize non-Haskell packages and filter them from the closed package set
generated by closePropagation. We do this so that the generated Haskell
environment won't contain paths like "/lib/libz.a", which are part of the
closure but have nothing to do with Haskell.

The previous scheme used the attribute 'ghc' to accomplish the same thing, but
unfortunately other packages to contain a 'ghc' attribute, too, like the
old-style ghc-wrapper. Including the ghc-wrapper in this environment is
pointless, obviously. The new approach filters the ghc-wrapper successfully.
2013-11-07 12:14:19 +01:00
..
applications Merge pull request #1181 from Zoomulator/master 2013-11-07 02:54:32 -08:00
build-support fetchsvn: handle redirect(s) 2013-11-01 22:54:13 +01:00
data Set meta.hydraPlatforms instead of meta.platforms for some packages 2013-11-05 00:06:10 +01:00
desktops Remove obsolete xfceutils attribute 2013-10-30 15:35:09 +01:00
development pkgs/development/compilers/ghc/with-packages.nix: improve recognition of Haskell packages 2013-11-07 12:14:19 +01:00
games Set meta.hydraPlatforms instead of meta.platforms for some packages 2013-11-05 00:06:10 +01:00
misc Mark more packages as broken 2013-11-04 21:11:00 +01:00
os-specific darwin x11/opengl: only copy subset of files (close #1165) 2013-11-07 10:39:28 +01:00
servers Merge pull request #686 from ocharles/postgres92 2013-11-07 02:53:37 -08:00
shells Merge pull request #1014 from coroa/scipy 2013-09-26 12:09:20 -07:00
stdenv Only show/build a package on the platforms listed in meta.platforms 2013-11-05 00:06:10 +01:00
test
tools Fix sha256 hash of disnix 2013-11-07 11:33:23 +01:00
top-level Merge pull request #1181 from Zoomulator/master 2013-11-07 02:54:32 -08:00