NixOS / nix

Nix, the purely functional package manager
https://nixos.org/
GNU Lesser General Public License v2.1
12.28k stars 1.48k forks source link

Use `MemorySourceAccessor` in `DummyStore` so writes work #10915

Open Ericson2314 opened 3 months ago

Ericson2314 commented 3 months ago

Motivation

This makes the dummy store a lot more useful. In particular, it opens the door to running complex integration-ish store tests entirely in memory as part of the units tests so we have a reference implementation to hold against other store implementations.

Context

This was originally made for #10874.

Add read-only setting to dummy:// store for back compat/

Priorities and Process

Add :+1: to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.