Remove computed-derivations experimental feature

We don't need it yet.
This commit is contained in:
John Ericson 2022-07-15 13:29:15 +00:00
parent 8735f55dec
commit 279ecf7cde
6 changed files with 1 additions and 10 deletions

View file

@ -1,4 +1,3 @@
# Release X.Y (202?-??-??)
* Add experimental *indexed store derivations* installable syntax, part of the
the `computed-derivations` experimental feature.
* Add *indexed store derivations* installable syntax.

View file

@ -814,7 +814,6 @@ std::vector<std::shared_ptr<Installable>> SourceExprCommand::parseInstallables(
result.push_back(std::make_shared<InstallableStorePath>(
store,
DerivedPath::Built::parse(*store, s.substr(0, found), s.substr(found + 1))));
settings.requireExperimentalFeature(Xp::ComputedDerivations);
continue;
} catch (BadStorePath &) {
} catch (...) {

View file

@ -14,7 +14,6 @@ std::map<ExperimentalFeature, std::string> stringifiedXpFeatures = {
{ Xp::NoUrlLiterals, "no-url-literals" },
{ Xp::FetchClosure, "fetch-closure" },
{ Xp::ReplFlake, "repl-flake" },
{ Xp::ComputedDerivations, "computed-derivations" },
};
const std::optional<ExperimentalFeature> parseExperimentalFeature(const std::string_view & name)

View file

@ -23,7 +23,6 @@ enum struct ExperimentalFeature
NoUrlLiterals,
FetchClosure,
ReplFlake,
ComputedDerivations, // RFC 92
};
/**

View file

@ -132,8 +132,6 @@ the Nix store. Here are the recognised types of installables:
* **Indexed store derivations**: `/nix/store/p7gp6lxdg32h4ka1q398wd9r2zkbbz2v-hello-2.10.drv^out`
*(Experimental, part of by the `computed-derivations` experimental feature.)*
Store derivations can be indexed with a non-empty comma-separated list
of specific output names, or `*` meaning all ouptuts. This allows
finer control versus just specifying a derivation (without

View file

@ -2,9 +2,6 @@ source common.sh
set -o pipefail
enableFeatures "computed-derivations"
restartDaemon
drv=$(nix eval -f multiple-outputs.nix --raw a.drvPath)
if nix build "$drv^not-an-output" --no-link --json; then
fail "'not-an-output' should fail to build"