mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-27 08:16:14 +02:00
Support percent encoded URIs for lower store.
This commit is contained in:
parent
b5591ece4c
commit
b0989cb10b
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
#include "local-overlay-store.hh"
|
||||
#include "callback.hh"
|
||||
#include "url.hh"
|
||||
#include <regex>
|
||||
|
||||
namespace nix {
|
||||
|
@ -16,7 +17,7 @@ LocalOverlayStore::LocalOverlayStore(const Params & params)
|
|||
, Store(params)
|
||||
, LocalFSStore(params)
|
||||
, LocalStore(params)
|
||||
, lowerStore(openStore(lowerStoreUri).dynamic_pointer_cast<LocalFSStore>())
|
||||
, lowerStore(openStore(percentDecode(lowerStoreUri.get())).dynamic_pointer_cast<LocalFSStore>())
|
||||
{
|
||||
if (checkMount.get()) {
|
||||
std::smatch match;
|
||||
|
|
Loading…
Reference in a new issue