flake: use unfree nixpkgs to build documentation

This commit is contained in:
Gaetan Lepage 2024-01-18 13:27:36 +01:00 committed by Gaétan Lepage
parent 2c497de6fb
commit df7a90127b
2 changed files with 6 additions and 2 deletions

View file

@ -31,11 +31,13 @@
perSystem = { perSystem = {
pkgs, pkgs,
pkgsUnfree,
config, config,
... ...
}: { }: {
_module.args = { _module.args = {
modules = modules pkgs; modules = modules pkgs;
modulesUnfree = modules pkgsUnfree;
}; };
}; };
} }

View file

@ -2,11 +2,13 @@
perSystem = { perSystem = {
pkgs, pkgs,
config, config,
modules, modulesUnfree,
pkgsUnfree,
... ...
}: { }: {
packages = import ../docs { packages = import ../docs {
inherit modules pkgs; modules = modulesUnfree;
pkgs = pkgsUnfree;
inherit (pkgs) lib; inherit (pkgs) lib;
}; };