mirror of
https://github.com/NixOS/nix.git
synced 2025-11-19 08:49:35 +01:00
A very unfortunate interaction of current filtering with pure eval is
that the following actually leads to `lib.a = {}`. This just adds a unit
test for this broken behavior. This is really good to be done as a unit test
via the in-memory store.
{
outputs =
{ ... }:
{
lib.a = builtins.readDir /.;
};
}
|
||
|---|---|---|
| .. | ||
| include/nix/store/tests | ||
| .version | ||
| derived-path.cc | ||
| meson.build | ||
| nix-meson-build-support | ||
| outputs-spec.cc | ||
| package.nix | ||
| path.cc | ||
| test-main.cc | ||