mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-02-18 08:07:17 +02:00
tests/nixos/fetch-git: Memoize -> save
Memoization is for thunk-like behavior whereas this is executed eagerly.
This commit is contained in:
parent
fd41979d78
commit
94eba0ebbb
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
||||||
&& {repo.git} commit -m 'commit1'
|
&& {repo.git} commit -m 'commit1'
|
||||||
""")
|
""")
|
||||||
|
|
||||||
# memoize the revision
|
# save the revision
|
||||||
rev1 = client.succeed(f"""
|
rev1 = client.succeed(f"""
|
||||||
{repo.git} rev-parse HEAD
|
{repo.git} rev-parse HEAD
|
||||||
""").strip()
|
""").strip()
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
&& {repo.git} commit -m 'commit1'
|
&& {repo.git} commit -m 'commit1'
|
||||||
""")
|
""")
|
||||||
|
|
||||||
# memoize the revision
|
# save the revision
|
||||||
rev1 = client.succeed(f"""
|
rev1 = client.succeed(f"""
|
||||||
{repo.git} rev-parse HEAD
|
{repo.git} rev-parse HEAD
|
||||||
""").strip()
|
""").strip()
|
||||||
|
|
Loading…
Add table
Reference in a new issue