pub fn generate_flake_nix(flake_inputs: &BTreeMap<String, String>) -> StringExpand description
@brief Generates the content of the flake.nix file.
This function constructs the Nix flake file content using the provided flake inputs. It generates the appropriate Nix syntax for the inputs and output blocks, including the logic for handling packages and shell hooks as specified in the devshell.toml configuration.
@param flake_inputs A map of input names to their corresponding URLs. @return The generated flake.nix file content as a String.