You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your
8000
session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While this behaviour causes some headaches (parsing the strings alone is not sufficient to determine what type to return, you need IO), it doesn't seem to actually work as documented (always parses as path:):
Steps To Reproduce
Nix 2.35.6
Type :? for help.
nix-repl> builtins.flakeRefToString (builtins.parseFlakeRef "/home/flokli/dev/nixos/nixpkgs")
"path:/home/flokli/dev/nixos/nixpkgs"
Expected behavior
I don't know. I'd either expect that part of the docs to disappear, because it doesn't apply (anymore), or the behaviour described to exist?
Activity
[-]Path-like syntax inconsistency?[/-][+]flake refs: path-like syntax inconsistency?[/+]