From 0b4a4e83277de46b39c4c80d01e11f980d2d9a55 Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Fri, 24 Jan 2025 20:49:25 +0000 Subject: [PATCH] docs: don't set `allowUnfree` We shouldn't be evaluating any packages, so we shouldn't need `allowUnfree`. --- docs/pkgs.nix | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/docs/pkgs.nix b/docs/pkgs.nix index 6825cb4f..edd97523 100644 --- a/docs/pkgs.nix +++ b/docs/pkgs.nix @@ -3,14 +3,6 @@ nixpkgs, }: let - # FIXME: - # Building the docs evaluates many package-option defaults, some of which are unfree. - # This usually happens when we include the package option value in another option's default without - # using a literalExpression defaultText. - config = { - allowUnfree = true; - }; - # Extend nixpkg's lib, so that we can handle recursive leaf types such as `either` libOverlay = final: prev: { types = prev.types // { @@ -46,6 +38,6 @@ let in import nixpkgs { - inherit config system; + inherit system; overlays = [ overlay ]; }