diff options
-rw-r--r-- | tests/derivations.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/derivations.scm b/tests/derivations.scm index c9b5db2311..64bc678828 100644 --- a/tests/derivations.scm +++ b/tests/derivations.scm @@ -32,7 +32,8 @@ (test-begin "derivations") (test-assert "parse & export" - (let* ((b1 (call-with-input-file "test.drv" get-bytevector-all)) + (let* ((f (search-path %load-path "tests/test.drv")) + (b1 (call-with-input-file f get-bytevector-all)) (d1 (read-derivation (open-bytevector-input-port b1))) (b2 (call-with-bytevector-output-port (cut write-derivation d1 <>))) (d2 (read-derivation (open-bytevector-input-port b2)))) |