nixpkgs/pkgs/development/compilers/ghc
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
..
6.4.2-binary.nix nixos.org/tarballs -> tarballs.nixos.org 2013-06-25 14:12:16 +02:00
6.4.2.nix ghc: add meta.license attribute to all compiler versions 2013-03-23 15:58:14 +01:00
6.6.1.nix ghc: add meta.license attribute to all compiler versions 2013-03-23 15:58:14 +01:00
6.8.2.nix ghc: add meta.license attribute to all compiler versions 2013-03-23 15:58:14 +01:00
6.8.3.nix ghc: add meta.license attribute to all compiler versions 2013-03-23 15:58:14 +01:00
6.10.1-binary.nix Back-port Haskell-related improvements from stdenv-updates. 2013-10-27 10:09:36 +01:00
6.10.1.nix ghc: add meta.license attribute to all compiler versions 2013-03-23 15:58:14 +01:00
6.10.2-binary.nix Back-port Haskell-related improvements from stdenv-updates. 2013-10-27 10:09:36 +01:00
6.10.2.nix ghc: add meta.license attribute to all compiler versions 2013-03-23 15:58:14 +01:00
6.10.3.nix ghc: add meta.license attribute to all compiler versions 2013-03-23 15:58:14 +01:00
6.10.4.nix ghc: add meta.license attribute to all compiler versions 2013-03-23 15:58:14 +01:00
6.11.nix ghc: add meta.license attribute to all compiler versions 2013-03-23 15:58:14 +01:00
6.12.1-binary.nix Back-port Haskell-related improvements from stdenv-updates. 2013-10-27 10:09:36 +01:00
6.12.1.nix ghc: add meta.license attribute to all compiler versions 2013-03-23 15:58:14 +01:00
6.12.2.nix ghc: add meta.license attribute to all compiler versions 2013-03-23 15:58:14 +01:00
6.12.3.nix ghc: add meta.license attribute to all compiler versions 2013-03-23 15:58:14 +01:00
7.0.1.nix ghc: add meta.license attribute to all compiler versions 2013-03-23 15:58:14 +01:00
7.0.2.nix ghc: add meta.license attribute to all compiler versions 2013-03-23 15:58:14 +01:00
7.0.3.nix ghc: add meta.license attribute to all compiler versions 2013-03-23 15:58:14 +01:00
7.0.4-binary.nix Back-port Haskell-related improvements from stdenv-updates. 2013-10-27 10:09:36 +01:00
7.0.4.nix Darwin: Add mig', lipo', etc. to `stdenvNative'. 2012-04-23 15:47:31 +00:00
7.2.1.nix ghc: add meta.license attribute to all compiler versions 2013-03-23 15:58:14 +01:00
7.2.2.nix ghc: add meta.license attribute to all compiler versions 2013-03-23 15:58:14 +01:00
7.4.1.nix Darwin: Add mig', lipo', etc. to `stdenvNative'. 2012-04-23 15:47:31 +00:00
7.4.2-binary.nix Back-port Haskell-related improvements from stdenv-updates. 2013-10-27 10:09:36 +01:00
7.4.2.nix Back-port Haskell-related improvements from stdenv-updates. 2013-10-27 10:09:36 +01:00
7.6.1.nix ghc: add meta.license attribute to all compiler versions 2013-03-23 15:58:14 +01:00
7.6.2.nix ghc: add meta.license attribute to all compiler versions 2013-03-23 15:58:14 +01:00
7.6.3.nix Back-port Haskell-related improvements from stdenv-updates. 2013-10-27 10:09:36 +01:00
ghc-get-packages.sh pkgs/development/compilers/ghc/ghc-get-packages.sh: append global "package.conf" to the list of package config files 2010-01-06 12:55:25 +00:00
head.nix ghc: update HEAD version to 7.7.20130828 2013-10-27 10:22:21 +01:00
with-packages-old.nix Resurrect the old ghcWithPackages wrapper under the attribute name 'ghcWithPackagesOld'. 2013-11-04 19:42:49 +01:00
with-packages.nix pkgs/development/compilers/ghc/with-packages.nix: improve recognition of Haskell packages 2013-11-07 12:14:19 +01:00
wrapper.nix Back-port Haskell-related improvements from stdenv-updates. 2013-10-27 10:09:36 +01:00