aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/flake/flake.hh
diff options
context:
space:
mode:
authorAlexander Bantyev <balsoft@balsoft.ru>2021-07-01 17:54:22 +0300
committerAlexander Bantyev <balsoft@balsoft.ru>2021-07-01 17:54:22 +0300
commite756a59c72e3e793ed01dec04749fa356f263315 (patch)
tree0109e35dd4ec3afca32629b9cfb8bf3e0d8789d2 /src/libexpr/flake/flake.hh
parentef1e7ab840eaa50da29ddde7bf990a1ff6a8b185 (diff)
fixup! flake.nixConfig: fix flake-registry config settings
Diffstat (limited to 'src/libexpr/flake/flake.hh')
-rw-r--r--src/libexpr/flake/flake.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libexpr/flake/flake.hh b/src/libexpr/flake/flake.hh
index d17d5e183..4479e95db 100644
--- a/src/libexpr/flake/flake.hh
+++ b/src/libexpr/flake/flake.hh
@@ -104,6 +104,10 @@ struct LockFlags
references like 'nixpkgs'. */
bool useRegistries = true;
+ /* Whether to apply flake's nixConfig attribute to the configuration */
+
+ bool applyNixConfig = false;
+
/* Whether mutable flake references (i.e. those without a Git
revision or similar) without a corresponding lock are
allowed. Mutable flake references with a lock are always