colmena icon indicating copy to clipboard operation
colmena copied to clipboard

colmena crashes on paths containing '@'

Open yu-re-ka opened this issue 7 months ago • 1 comments

[nix-shell:~/nix]$ colmena repl
error: '/home/user@domain/nix' is not a valid URL
[ERROR] -----
[ERROR] Operation failed with error: Child process exited with error code: 1
Hint: Backtrace available - Use `RUST_BACKTRACE=1` environment variable to display a backtrace

[nix-shell:~/nix]$ colmena repl -f .
[INFO ] Using configuration: /home/user@domain/nix
Lix 2.90.0-rc1
Type :? for help.
warning: ignoring error writing repl history to /home/user@domain/.local/share/nix/repl-history: No such file or directory
error: syntax error, unexpected '@', expecting ';'
       at /run/user/1234/colmena-repl-N0PAvs.nix:1:130:
            1| with builtins; let eval = import /run/user/1234/colmena-assets-3t9Yu2/eval.nix; hive = eval { rawHive = import /home/user@domain/nix; colmenaOptions = import /run/user/1234/colmena-assets-3t9Yu2/options.nix; colmenaModules = import /run/user/1234/colmena-assets-3t9Yu2/modules.nix; }; in  hive.introspect (x: x)
             |                                                                                                                                  ^
[ERROR] -----
[ERROR] Operation failed with error: Child process exited with error code: 1
Hint: Backtrace available - Use `RUST_BACKTRACE=1` environment variable to display a backtrace

yu-re-ka avatar Jun 27 '24 07:06 yu-re-ka