summaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-06-19 12:43:26 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-02-05 23:14:32 +0100
commit2ba1f3c1955d0687ed3ba5608b4af6f6f579f80b (patch)
treec0b6064b44ffa2a03ef33713c073cfaadcb11d71 /flake.nix
parentf16ca590c7dbce162f713a003fdd31bfc49df1b0 (diff)
Add flake outputs for the manuals
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix18
1 files changed, 14 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix
index 20145e4dadbd..9209a9f5e716 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;
};