Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I8640148e8e7597924f9c776750c856266a6a6964
15 lines
369 B
Nix
15 lines
369 B
Nix
# Test dynamic attribute names
|
|
# Note: Full dynamic attrs require runtime evaluation
|
|
# For now, testing that syntax is recognized
|
|
let
|
|
key = "mykey";
|
|
in {
|
|
# Static attribute for comparison
|
|
static = "value";
|
|
|
|
# Dynamic attribute name (basic string interpolation)
|
|
# "${key}" = "dynamic_value";
|
|
|
|
# For now, use workaround with static names
|
|
mykey = "works";
|
|
}
|