Skip to content

Commit 0b4a4e8

Browse files
committed
docs: don't set allowUnfree
We shouldn't be evaluating any packages, so we shouldn't need `allowUnfree`.
1 parent 796ace6 commit 0b4a4e8

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

docs/pkgs.nix

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,6 @@
33
nixpkgs,
44
}:
55
let
6-
# FIXME:
7-
# Building the docs evaluates many package-option defaults, some of which are unfree.
8-
# This usually happens when we include the package option value in another option's default without
9-
# using a literalExpression defaultText.
10-
config = {
11-
allowUnfree = true;
12-
};
13-
146
# Extend nixpkg's lib, so that we can handle recursive leaf types such as `either`
157
libOverlay = final: prev: {
168
types = prev.types // {
@@ -46,6 +38,6 @@ let
4638

4739
in
4840
import nixpkgs {
49-
inherit config system;
41+
inherit system;
5042
overlays = [ overlay ];
5143
}

0 commit comments

Comments
 (0)