diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 88a8cd0f6f704..8c2d025612f4f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -18265,7 +18265,7 @@ with pkgs; nixosOptionsDoc = attrs: (import ../../nixos/lib/make-options-doc) - ({ inherit pkgs lib; } // attrs); + ({ inherit lib; pkgs = pkgs.__splicedPackages; } // attrs); nix-eval-jobs = callPackage ../tools/package-management/nix-eval-jobs { nix = nixVersions.nix_2_24;