Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ba5dbceecbf1
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e3847bc02dfd
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Aug 22, 2019

  1. Pass hoogle-local's buildCommand as a file.

    This is necessary when a very large number of packages are included in the
    package database. Without this change, setting up the build environment will
    fail, since the environment will be too large.
    
    This simply applies the technique mentioned in
    #25057 to solve this problem.
    TravisWhitaker committed Aug 22, 2019
    Copy the full SHA
    8bb2dc5 View commit details

Commits on Aug 30, 2019

  1. Merge pull request #67228 from TravisWhitaker/haddock-buildCommand

    Pass hoogle-local's buildCommand as a file.
    peti authored Aug 30, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e3847bc View commit details
Showing with 3 additions and 3 deletions.
  1. +3 −3 pkgs/development/haskell-modules/hoogle.nix
6 changes: 3 additions & 3 deletions pkgs/development/haskell-modules/hoogle.nix
Original file line number Diff line number Diff line change
@@ -57,11 +57,11 @@ stdenv.mkDerivation {
name = "hoogle-local-0.1";
buildInputs = [ghc hoogle];

phases = [ "buildPhase" ];

inherit docPackages;

buildPhase = ''
passAsFile = ["buildCommand"];

buildCommand = ''
${lib.optionalString (packages != [] -> docPackages == [])
("echo WARNING: localHoogle package list empty, even though"
+ " the following were specified: "