Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b8a69aaba97f8abdd0de735ac84d6da6e91ab165
      
https://github.com/NixOS/nixpkgs/commit/b8a69aaba97f8abdd0de735ac84d6da6e91ab165
  Author: Profpatsch <[email protected]>
  Date:   2016-11-24 (Thu, 24 Nov 2016)

  Changed paths:
    M pkgs/development/haskell-modules/hoogle.nix

  Log Message:
  -----------
  haskell/hoogle.nix: make an empty packages list possible

Building hoogle environments with an empty list of packages threw a built-time
error. This was particularly confusing when giving e.g. `(hps: [hps.Cabal])`
which, since `Cabal` is set to `null` (because it’s a distribution package),
would have lead to the same error as an empty list.

It was not useful to throw an error at all, because sometimes one only wants to
build an environment for the distribution packages; also the default value for
packages wasn’t even a valid value, so it is removed.


  Commit: baea6a8d824c3ac4b1a32f43fa1987090a7bf08d
      
https://github.com/NixOS/nixpkgs/commit/baea6a8d824c3ac4b1a32f43fa1987090a7bf08d
  Author: Peter Simons <[email protected]>
  Date:   2016-11-25 (Fri, 25 Nov 2016)

  Changed paths:
    M pkgs/development/haskell-modules/hoogle.nix

  Log Message:
  -----------
  Merge pull request #20619 from Profpatsch/ghcWithHoogle-empty-packagelist

haskell/hoogle.nix: make an empty packages list possible


Compare: https://github.com/NixOS/nixpkgs/compare/9f9f7a35aa39...baea6a8d824c
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to