From 2ba1f3c1955d0687ed3ba5608b4af6f6f579f80b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 19 Jun 2019 12:43:26 +0200 Subject: [PATCH] Add flake outputs for the manuals --- flake.nix | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 20145e4dadb..9209a9f5e71 100644 --- a/flake.nix +++ b/flake.nix @@ -6,20 +6,30 @@ description = "A collection of packages for the Nix package manager"; outputs = inputs: - let pkgs = import ./. { system = "x86_64-linux"; }; in + let + pkgs = import ./. { system = "x86_64-linux"; }; + jobs = import ./pkgs/top-level/release.nix { + nixpkgs = inputs.self; + }; + in { lib = (import ./lib) // { nixosSystem = import ./nixos/lib/eval-config.nix; }; - checks.tarball = (import ./pkgs/top-level/release.nix { - nixpkgs = inputs.self; - }).tarball; + checks.tarball = jobs.tarball; builders = { inherit (pkgs) stdenv fetchurl; }; + htmlDocs = { + nixpkgsManual = jobs.manual; + nixosManual = (import ./nixos/release-small.nix { + nixpkgs = inputs.self; + }).nixos.manual.x86_64-linux; + }; + packages = { inherit (pkgs) hello nix fuse nlohmann_json boost firefox; };