1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-20 01:09:37 +01:00

tests: Tests for writeable dummy in-memory store

This commit is contained in:
Sergei Zimmerman 2025-09-21 13:36:31 +03:00
parent b66c357b58
commit a453a49043
No known key found for this signature in database
3 changed files with 6 additions and 0 deletions

View file

@ -219,6 +219,7 @@ in
client.succeed("nix registry pin nixpkgs")
client.succeed("nix flake metadata nixpkgs --tarball-ttl 0 >&2")
client.succeed("nix eval nixpkgs#hello --eval-store dummy://?read-only=false >&2")
# Test fetchTree on a github URL.
hash = client.succeed(f"nix eval --no-trust-tarballs-from-git-forges --raw --expr '(fetchTree {info['url']}).narHash'")