haskellPackages: move hoogle docPackages into passthru (#524444)

This commit is contained in:
sternenseemann
2026-05-26 16:47:28 +00:00
committed by GitHub
+2 -2
View File
@@ -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}";