aboutsummaryrefslogtreecommitdiff
path: root/src/nix/flake.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-03-27 09:19:29 -0400
committerGitHub <noreply@github.com>2023-03-27 09:19:29 -0400
commit570829d67e78d97d53a935e4e61b0a09589c4cd1 (patch)
treeeb5d46592c4481305309748fef1c1139fc5e029b /src/nix/flake.cc
parent2523448bad6ad3d10f6fb0ab9eff175fd5d2a561 (diff)
parent4607ac7aed34b1bc2d7a74bff99c63f3bd684511 (diff)
Merge pull request #7609 from obsidiansystems/hide-experimental-settings
Hide experimental settings
Diffstat (limited to 'src/nix/flake.cc')
-rw-r--r--src/nix/flake.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/flake.cc b/src/nix/flake.cc
index df19e87e4..cd4ee5921 100644
--- a/src/nix/flake.cc
+++ b/src/nix/flake.cc
@@ -1335,7 +1335,7 @@ struct CmdFlake : NixMultiCommand
{
if (!command)
throw UsageError("'nix flake' requires a sub-command.");
- settings.requireExperimentalFeature(Xp::Flakes);
+ experimentalFeatureSettings.require(Xp::Flakes);
command->second->run();
}
};