aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-okay-derivation-legacy.err.exp
diff options
context:
space:
mode:
authorTom Bereknyei <tomberek@gmail.com>2024-06-10 09:31:21 -0400
committerMaximilian Bosch <maximilian@mbosch.me>2024-08-03 13:32:51 +0200
commit7fc481396c69e0687e655fbf77397535960c831c (patch)
tree1fd137e9df2a3018dbaf1ad70560ac654c43e6cd /tests/functional/lang/eval-okay-derivation-legacy.err.exp
parent66469fc281fc4abb3284574f77a8051fee8116b9 (diff)
fix: warn and document when advanced attributes will have no impact due to __structuredAttrs
Backport of https://github.com/NixOS/nix/pull/10884. Change-Id: I82cc2794730ae9f4a9b7df0185ed0aea83efb65a
Diffstat (limited to 'tests/functional/lang/eval-okay-derivation-legacy.err.exp')
-rw-r--r--tests/functional/lang/eval-okay-derivation-legacy.err.exp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/functional/lang/eval-okay-derivation-legacy.err.exp b/tests/functional/lang/eval-okay-derivation-legacy.err.exp
new file mode 100644
index 000000000..94f0854dd
--- /dev/null
+++ b/tests/functional/lang/eval-okay-derivation-legacy.err.exp
@@ -0,0 +1,6 @@
+warning: In a derivation named 'eval-okay-derivation-legacy', 'structuredAttrs' disables the effect of the derivation attribute 'allowedReferences'; use 'outputChecks.<output>.allowedReferences' instead
+warning: In a derivation named 'eval-okay-derivation-legacy', 'structuredAttrs' disables the effect of the derivation attribute 'allowedRequisites'; use 'outputChecks.<output>.allowedRequisites' instead
+warning: In a derivation named 'eval-okay-derivation-legacy', 'structuredAttrs' disables the effect of the derivation attribute 'disallowedReferences'; use 'outputChecks.<output>.disallowedReferences' instead
+warning: In a derivation named 'eval-okay-derivation-legacy', 'structuredAttrs' disables the effect of the derivation attribute 'disallowedRequisites'; use 'outputChecks.<output>.disallowedRequisites' instead
+warning: In a derivation named 'eval-okay-derivation-legacy', 'structuredAttrs' disables the effect of the derivation attribute 'maxClosureSize'; use 'outputChecks.<output>.maxClosureSize' instead
+warning: In a derivation named 'eval-okay-derivation-legacy', 'structuredAttrs' disables the effect of the derivation attribute 'maxSize'; use 'outputChecks.<output>.maxSize' instead