Unexpected Abort on nix::canonPath(PathView, bool): Assertion path != ""' failed.` #536

Open
opened 2024-09-29 01:21:14 +00:00 by samueldr · 0 comments
Member

Describe the bug

~ $ nix repl '<nixpkgs>'
Lix 2.91.0
Type :? for help.
Loading installable ''...
Added 22730 variables.
nix-repl> :p (hello // { drvPath = ""; })
nix: src/libutil/file-system.cc:39: nix::Path nix::canonPath(PathView, bool): Assertion `path != ""' failed.
Aborted (core dumped)

Steps To Reproduce

Sorry.

Expected behavior

Unsure. At least not aborting.

nix --version output

~ $ nix --version
nix (Lix, like Nix) 2.91.0

Additional context

Not a huge issue. Just surprising sudden loss of REPL :).

## Describe the bug ``` ~ $ nix repl '<nixpkgs>' Lix 2.91.0 Type :? for help. Loading installable ''... Added 22730 variables. nix-repl> :p (hello // { drvPath = ""; }) nix: src/libutil/file-system.cc:39: nix::Path nix::canonPath(PathView, bool): Assertion `path != ""' failed. Aborted (core dumped) ``` ## Steps To Reproduce Sorry. ## Expected behavior Unsure. At least not aborting. ## `nix --version` output ``` ~ $ nix --version nix (Lix, like Nix) 2.91.0 ``` ## Additional context Not a huge issue. Just surprising sudden loss of REPL :).
samueldr added the
bug
label 2024-09-29 01:21:14 +00:00
jade added the
E/reproducible
label 2024-09-29 05:16:19 +00:00
jade added the
crash 💥
label 2024-11-10 02:17:29 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#536
No description provided.