mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-14 02:06:16 +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 "local-overlay-store.hh"
|
||||||
#include "callback.hh"
|
#include "callback.hh"
|
||||||
|
#include "url.hh"
|
||||||
#include <regex>
|
#include <regex>
|
||||||
|
|
||||||
namespace nix {
|
namespace nix {
|
||||||
|
@ -16,7 +17,7 @@ LocalOverlayStore::LocalOverlayStore(const Params & params)
|
||||||
, Store(params)
|
, Store(params)
|
||||||
, LocalFSStore(params)
|
, LocalFSStore(params)
|
||||||
, LocalStore(params)
|
, LocalStore(params)
|
||||||
, lowerStore(openStore(lowerStoreUri).dynamic_pointer_cast<LocalFSStore>())
|
, lowerStore(openStore(percentDecode(lowerStoreUri.get())).dynamic_pointer_cast<LocalFSStore>())
|
||||||
{
|
{
|
||||||
if (checkMount.get()) {
|
if (checkMount.get()) {
|
||||||
std::smatch match;
|
std::smatch match;
|
||||||
|
|
Loading…
Reference in a new issue