mirror of
https://github.com/NixOS/nix
synced 2025-06-25 23:11:16 +02:00
Improve flake references
This commit is contained in:
parent
0cd7f2cd8d
commit
91a6a47b0e
9 changed files with 380 additions and 59 deletions
|
@ -16,7 +16,7 @@ using namespace std::string_literals;
|
|||
|
||||
namespace nix {
|
||||
|
||||
std::regex revRegex("^[0-9a-fA-F]{40}$");
|
||||
extern std::regex revRegex;
|
||||
|
||||
GitInfo exportGit(ref<Store> store, const std::string & uri,
|
||||
std::optional<std::string> ref, std::string rev,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue