Subject: guix repl doesn't find the script to execute
From: Konrad Hinsen <[email-masked]>
To: [email-masked]
Date: Fri, 11 Sep 2020 13:06:17 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Example:

$ guix repl moocrr_guix_jupyter/installed-dependencies.scm
Backtrace:
           1 (primitive-load-path "./moocrr_guix_jupyter/installed-d…")
In ice-9/boot-9.scm:
  1669:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1669:16: In procedure raise-exception:
In procedure primitive-load-path: Unable to find file "./moocrr_guix_jupyter/installed-dependencies.scm" in load path

But the file is there:

$ ls -l moocrr_guix_jupyter/installed-dependencies.scm
-rw-r--r-- 1 hinsen users 783 Sep 11 12:43 moocrr_guix_jupyter/installed-dependencies.scm

And when given the absolute path, guix finds it as well:

$ guix repl `pwd`/moocrr_guix_jupyter/installed-dependencies.scm
122 packages:
[email-masked]
[email-masked]
...