mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +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'
|
||||
""")
|
||||
|
||||
# memoize the revision
|
||||
# save the revision
|
||||
rev1 = client.succeed(f"""
|
||||
{repo.git} rev-parse HEAD
|
||||
""").strip()
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
&& {repo.git} commit -m 'commit1'
|
||||
""")
|
||||
|
||||
# memoize the revision
|
||||
# save the revision
|
||||
rev1 = client.succeed(f"""
|
||||
{repo.git} rev-parse HEAD
|
||||
""").strip()
|
||||
|
|
Loading…
Reference in a new issue