mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
docs: don't set allowUnfree
We shouldn't be evaluating any packages, so we shouldn't need `allowUnfree`.
This commit is contained in:
parent
796ace65f7
commit
0b4a4e8327
1 changed files with 1 additions and 9 deletions
|
@ -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 ];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue