diff options
author | piegames <git@piegames.de> | 2024-07-13 07:55:17 +0200 |
---|---|---|
committer | piegames <git@piegames.de> | 2024-08-17 20:31:57 +0200 |
commit | 278fddc317cf0cf4d3602d0ec0f24d1dd281fadb (patch) | |
tree | 002c63288018f70755e2a60f9af554fe5cbca85b /src/libutil/deprecated-features.cc | |
parent | 49d61b2e4bf338042364c85d3c2ead0b33963e65 (diff) |
libexpr: Deprecate URL literals
Closes #437.
Change-Id: I9f67fc965bb4a7e7fd849e5067ac1cb3bab064cd
Diffstat (limited to 'src/libutil/deprecated-features.cc')
-rw-r--r-- | src/libutil/deprecated-features.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/libutil/deprecated-features.cc b/src/libutil/deprecated-features.cc index 7c59d8598..11b6c42bd 100644 --- a/src/libutil/deprecated-features.cc +++ b/src/libutil/deprecated-features.cc @@ -24,9 +24,16 @@ struct DeprecatedFeatureDetails * feature, we either have no issue at all if few features are not added * at the end of the list, or a proper merge conflict if they are. */ -constexpr size_t numDepFeatures = 0; +constexpr size_t numDepFeatures = 1 + static_cast<size_t>(Dep::UrlLiterals); constexpr std::array<DeprecatedFeatureDetails, numDepFeatures> depFeatureDetails = {{ + { + .tag = Dep::UrlLiterals, + .name = "url-literals", + .description = R"( + Allow unquoted URLs as part of the Nix language syntax. + )", + }, }}; static_assert( |