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:
parent
b66c357b58
commit
a453a49043
3 changed files with 6 additions and 0 deletions
|
|
@ -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'")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue