diff options
Diffstat (limited to 'nixpkgs/pkgs/development/haskell-modules/hoogle.nix')
-rw-r--r-- | nixpkgs/pkgs/development/haskell-modules/hoogle.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/development/haskell-modules/hoogle.nix b/nixpkgs/pkgs/development/haskell-modules/hoogle.nix index c7fbab6ab88c..0bb930a8bb3a 100644 --- a/nixpkgs/pkgs/development/haskell-modules/hoogle.nix +++ b/nixpkgs/pkgs/development/haskell-modules/hoogle.nix @@ -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: " |