haskellPackages: move hoogle docPackages into passthru (#524444)
This commit is contained in:
@@ -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}";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user