Skip to content

Commit

Permalink
make fetchClosure non-experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
manveru committed Oct 7, 2023
1 parent c29b8ba commit 3e7e46c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions src/libexpr/primops/fetchClosure.cc
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,7 @@ static RegisterPrimOp primop_fetchClosure({
However, `fetchClosure` is more reproducible because it specifies a binary cache from which the path can be fetched.
Also, using content-addressed store paths does not require users to configure [`trusted-public-keys`](@docroot@/command-ref/conf-file.md#conf-trusted-public-keys) to ensure their authenticity.
)",
.fun = prim_fetchClosure,
.experimentalFeature = Xp::FetchClosure,
.fun = prim_fetchClosure
});

}
1 change: 0 additions & 1 deletion src/nix/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,6 @@ void mainWrapped(int argc, char * * argv)
if (argc == 2 && std::string(argv[1]) == "__dump-language") {
experimentalFeatureSettings.experimentalFeatures = {
Xp::Flakes,
Xp::FetchClosure,
Xp::DynamicDerivations,
};
evalSettings.pureEval = false;
Expand Down
2 changes: 0 additions & 2 deletions tests/functional/fetchClosure.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
source common.sh

enableFeatures "fetch-closure"

clearStore
clearCacheCache

Expand Down

0 comments on commit 3e7e46c

Please sign in to comment.