Skip to content

Commit

Permalink
libutil/experimental-features: Add pure-storepath-builtin experimenta…
Browse files Browse the repository at this point in the history
…l feature
  • Loading branch information
Pandapip1 committed Jan 6, 2025
1 parent daab4d1 commit 48a3467
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/libutil/experimental-features.cc
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ constexpr std::array<ExperimentalFeatureDetails, numXpFeatures> xpFeatureDetails
Each time this derivation is built, it can produce a different
output (as the builder outputs random bytes to `$out`). Impure
derivations also have access to the network, and only fixed-output
or other impure derivations can rely on impure derivations. Finally,
or other impure derivations can rely on impure derivations. Finally,pure
an impure derivation cannot also be
[content-addressed](#xp-feature-ca-derivations).
Expand Down Expand Up @@ -246,6 +246,18 @@ constexpr std::array<ExperimentalFeatureDetails, numXpFeatures> xpFeatureDetails
)",
.trackingUrl = "https://github.com/NixOS/nix/milestone/39",
},
{
.tag = Xp::PureStorePathBuiltin,
.name = "pure-storepath-builtin",
.description = R"(
Allow the use of [`storePath`](@docroot@/language/builtins.md#builtins-storePath)
in pure evaluation mode. No consensus has been found as to whether `storePath`
should be considered pure or impure, see the following issue:
https://github.com/NixOS/nix/issues/5868
)",
.trackingUrl = "TODO",
},
{
.tag = Xp::ParseTomlTimestamps,
.name = "parse-toml-timestamps",
Expand Down
1 change: 1 addition & 0 deletions src/libutil/experimental-features.hh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ enum struct ExperimentalFeature
MountedSSHStore,
VerifiedFetches,
PipeOperators,
PureStorePathBuiltin,
};

/**
Expand Down

0 comments on commit 48a3467

Please sign in to comment.