mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00
25 lines
384 B
Nix
25 lines
384 B
Nix
![]() |
{ config, ... }:
|
||
|
{
|
||
|
class = {
|
||
|
"just" = "data";
|
||
|
};
|
||
|
a = "one";
|
||
|
b = "two";
|
||
|
meta = "meta";
|
||
|
|
||
|
_module.args.result =
|
||
|
let
|
||
|
r = builtins.removeAttrs config [ "_module" ];
|
||
|
in
|
||
|
builtins.trace (builtins.deepSeq r r) (
|
||
|
r == {
|
||
|
a = "one";
|
||
|
b = "two";
|
||
|
class = {
|
||
|
"just" = "data";
|
||
|
};
|
||
|
meta = "meta";
|
||
|
}
|
||
|
);
|
||
|
}
|