Repository navigation
Conversation
builtins.parseFlakeRef and builtins.flakeRefToString refused `sourcehut:~owner/repo` as an unsupported scheme, although fetchTree already fetches the type. Nix handles it with the same code as github and gitlab, so iets now does too. An unlocked sourcehut input in pure mode now fails with Nix's message, which names the reference. Found with nix-pbt. Change-Id: If59b717fb526bf16b1f7dd14f0c6484de3d56f0a
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
builtins.parseFlakeRef "sourcehut:~a/b"andbuiltins.flakeRefToString { type = "sourcehut"; … }failed with "not supported", althoughfetchTreealready fetches sourcehut inputs. Nix parses the scheme with the same code asgithub:andgitlab:, and iets now does the same.sourcehut:flake is still unsupported, like every remote root flake, and classic mode still falls back to Nix.Found with nix-pbt (#685), where this case stopped three of the five flakeref properties.
Summary by CodeRabbit