mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 22:06:00 +03:00
nixos/make-options-doc: fix JSON generation on Darwin
This commit is contained in:
parent
497f3a2036
commit
f540aeda6f
@ -125,7 +125,11 @@ in rec {
|
|||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgs.brotli
|
pkgs.brotli
|
||||||
(let
|
(let
|
||||||
self = (pkgs.python3Minimal.override {
|
# python3Minimal can't be overridden with packages on Darwin, due to a missing framework.
|
||||||
|
# Instead of modifying stdenv, we take the easy way out, since most people on Darwin will
|
||||||
|
# just be hacking on the Nixpkgs manual (which also uses make-options-doc).
|
||||||
|
python = if pkgs.stdenv.isDarwin then pkgs.python3 else pkgs.python3Minimal;
|
||||||
|
self = (python.override {
|
||||||
inherit self;
|
inherit self;
|
||||||
includeSiteCustomize = true;
|
includeSiteCustomize = true;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user