mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
Add flake outputs for the manuals
This commit is contained in:
parent
f16ca590c7
commit
2ba1f3c195
18
flake.nix
18
flake.nix
|
@ -6,20 +6,30 @@
|
||||||
description = "A collection of packages for the Nix package manager";
|
description = "A collection of packages for the Nix package manager";
|
||||||
|
|
||||||
outputs = inputs:
|
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) // {
|
lib = (import ./lib) // {
|
||||||
nixosSystem = import ./nixos/lib/eval-config.nix;
|
nixosSystem = import ./nixos/lib/eval-config.nix;
|
||||||
};
|
};
|
||||||
|
|
||||||
checks.tarball = (import ./pkgs/top-level/release.nix {
|
checks.tarball = jobs.tarball;
|
||||||
nixpkgs = inputs.self;
|
|
||||||
}).tarball;
|
|
||||||
|
|
||||||
builders = {
|
builders = {
|
||||||
inherit (pkgs) stdenv fetchurl;
|
inherit (pkgs) stdenv fetchurl;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
htmlDocs = {
|
||||||
|
nixpkgsManual = jobs.manual;
|
||||||
|
nixosManual = (import ./nixos/release-small.nix {
|
||||||
|
nixpkgs = inputs.self;
|
||||||
|
}).nixos.manual.x86_64-linux;
|
||||||
|
};
|
||||||
|
|
||||||
packages = {
|
packages = {
|
||||||
inherit (pkgs) hello nix fuse nlohmann_json boost firefox;
|
inherit (pkgs) hello nix fuse nlohmann_json boost firefox;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue