gitlab: fix group escaping with nix 2.18+

This commit is contained in:
figsoda 2023-11-28 10:44:39 -05:00
parent 2bff13eea6
commit 54605a02af

View File

@ -89,7 +89,7 @@ impl<'a> SimpleGitFetcher<'a, 2> for FetchFromGitLab<'a> {
let mut flake_ref = String::from("gitlab:");
if let Some(group) = self.group.get() {
flake_ref.push_str(group);
flake_ref.push_str("%2F");
flake_ref.push_str("%252F");
}
flake_ref.push_str(owner);
flake_ref.push('/');