diff options
author | vigress8 <vig@disroot.org> | 2024-10-14 17:19:22 +0400 |
---|---|---|
committer | vigress8 <vig@disroot.org> | 2024-10-14 17:19:22 +0400 |
commit | 31ff77b3f922ff57b6167433590ecfb7e8efc93d (patch) | |
tree | 54b22e460481922dda8eeb654e1a4fde98bd06b8 /tests/functional/hash-check.nix | |
parent | 326cbecb61d42ce73caa391cdcb21acb2581bf7c (diff) |
Remove ancient `let` from 2 test files
Change-Id: I992bc7f9e1cfcb1e4038fbe6ee04178bbf938556
Diffstat (limited to 'tests/functional/hash-check.nix')
-rw-r--r-- | tests/functional/hash-check.nix | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/tests/functional/hash-check.nix b/tests/functional/hash-check.nix index f029f0cc9..6095bc57f 100644 --- a/tests/functional/hash-check.nix +++ b/tests/functional/hash-check.nix @@ -1,5 +1,4 @@ -let { - +let input1 = derivation { name = "dependencies-input-1"; system = "i086-msdos"; @@ -16,14 +15,12 @@ let { outputHashAlgo = "md5"; outputHash = "ffffffffffffffffffffffffffffffff"; }; - - body = derivation { - name = "dependencies"; - system = "i086-msdos"; - builder = "/bar/sh"; - args = ["-e" "-x" (./dummy + "/FOOBAR/../.")]; - input1 = input1 + "/."; - inherit input2; - }; - +in +derivation { + name = "dependencies"; + system = "i086-msdos"; + builder = "/bar/sh"; + args = ["-e" "-x" (./dummy + "/FOOBAR/../.")]; + input1 = input1 + "/."; + inherit input2; } |