mirror of
https://github.com/NixOS/nix.git
synced 2025-11-29 13:41:00 +01:00
Flake schemas
This applies upstream https://github.com/NixOS/nix/pull/8892.
This commit is contained in:
parent
51583851a2
commit
6406619c44
25 changed files with 702 additions and 819 deletions
|
|
@ -38,6 +38,8 @@
|
|||
|
||||
, busybox-sandbox-shell ? null
|
||||
|
||||
, flake-schemas
|
||||
|
||||
# Configuration Options
|
||||
#:
|
||||
# This probably seems like too many degrees of freedom, but it
|
||||
|
|
@ -260,6 +262,7 @@ in {
|
|||
(lib.enableFeature enableMarkdown "markdown")
|
||||
(lib.enableFeature installUnitTests "install-unit-tests")
|
||||
(lib.withFeatureAs true "readline-flavor" readlineFlavor)
|
||||
"--with-default-flake-schemas=${flake-schemas}"
|
||||
] ++ lib.optionals (!forDevShell) [
|
||||
"--sysconfdir=/etc"
|
||||
] ++ lib.optionals installUnitTests [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue