1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-19 08:49:35 +01:00
nix/src/libstore-test-support
Sergei Zimmerman a8670e8a7d
libexpr-tests: Add unit tests for broken readDir /. for pure eval
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 /.;
    };
}
2025-09-30 03:16:35 +03:00
..
include/nix/store/tests libexpr-tests: Add unit tests for broken readDir /. for pure eval 2025-09-30 03:16:35 +03:00
.version Move unit tests to the location Meson expects them to be 2024-10-17 15:42:16 -04:00
derived-path.cc treewide: Bump C++ standard version to C++23 2025-08-19 15:33:27 +03:00
meson.build treewide: Support builds with ASAN, enable in CI 2025-09-19 01:33:57 +03:00
nix-meson-build-support rename: build-utils-meson -> nix-meson-build-support 2024-12-09 16:54:42 +01:00
outputs-spec.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
package.nix Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
path.cc treewide: Bump C++ standard version to C++23 2025-08-19 15:33:27 +03:00
test-main.cc Add new C API for working with derivations 2025-09-16 13:25:36 -04:00