parseFlakeRef
builtins.parseFlakeRef
Primop
Experimental
Docs pulled from | This Revision | 1 day ago
Takes 1 arguments
flake-ref
Parse a flake reference, and return its exploded form.
For example:
builtins.parseFlakeRef "github:NixOS/nixpkgs/23.05?dir=lib"
evaluates to:
{ dir = "lib"; owner = "NixOS"; ref = "23.05"; repo = "nixpkgs"; type = "github"; }
This function is not defined in a .nix file. It is likely a builtins function or an alias of a builtins function. builtins functions are predefined functions provided by Nix.
Implementation
This function is implemented in c++ and is part of the native nix runtime.