Skip to content

Commit

Permalink
flake: use unfree nixpkgs to build documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Jan 18, 2024
1 parent 2c497de commit df7a901
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions flake-modules/modules.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@

perSystem = {
pkgs,
pkgsUnfree,
config,
...
}: {
_module.args = {
modules = modules pkgs;
modulesUnfree = modules pkgsUnfree;
};
};
}
6 changes: 4 additions & 2 deletions flake-modules/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
perSystem = {
pkgs,
config,
modules,
modulesUnfree,
pkgsUnfree,
...
}: {
packages = import ../docs {
inherit modules pkgs;
modules = modulesUnfree;
pkgs = pkgsUnfree;
inherit (pkgs) lib;
};

Expand Down

0 comments on commit df7a901

Please sign in to comment.