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,
|
nixpkgs,
|
||||||
}:
|
}:
|
||||||
let
|
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`
|
# Extend nixpkg's lib, so that we can handle recursive leaf types such as `either`
|
||||||
libOverlay = final: prev: {
|
libOverlay = final: prev: {
|
||||||
types = prev.types // {
|
types = prev.types // {
|
||||||
|
@ -46,6 +38,6 @@ let
|
||||||
|
|
||||||
in
|
in
|
||||||
import nixpkgs {
|
import nixpkgs {
|
||||||
inherit config system;
|
inherit system;
|
||||||
overlays = [ overlay ];
|
overlays = [ overlay ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue