diff --git a/pkgs/development/haskell-modules/hoogle.nix b/pkgs/development/haskell-modules/hoogle.nix index 7d2e3517f979..877fb974c887 100644 --- a/pkgs/development/haskell-modules/hoogle.nix +++ b/pkgs/development/haskell-modules/hoogle.nix @@ -54,8 +54,6 @@ buildPackages.stdenv.mkDerivation (finalAttrs: { # thus probably intend to substitute it. allowSubstitutes = true; - inherit docPackages; - passAsFile = [ "buildCommand" ]; buildCommand = '' @@ -128,6 +126,8 @@ buildPackages.stdenv.mkDerivation (finalAttrs: { passthru = { isHaskellLibrary = false; # for the filter in ./with-packages-wrapper.nix + inherit docPackages; + # The path to the Hoogle database. database = "${finalAttrs.finalPackage}/${databasePath}";