libfetchers: Actually percentDecode path when using the path from fil…#14909
Conversation
…e:// URI Special characters like + e.t.c. are pct-encoded.
|
The local-overlay-store failures from #14751 is due to the regex issue I mentioned. But those tests are not run on Darwin. |
|
How is this related to me? |
|
@vcunat From this comment NixOS/nixpkgs#468208 (comment) and NixOS/nixpkgs#469207 I never figured out how to reproduce the So it should also fail on Linux. I can give that a try myself but it wouldn't be clear whether that fixes the problems on Darwin |
|
Yes, I did reproduce that on my linux machine with a different I can try poking around more and see if there are more issues with Darwin, but this should be good to merge regardless, since it fixes a bug. |
…e:// URI
Motivation
Special characters like + e.t.c. are pct-encoded.
cc @dramforever. There's also a very stupid issue that leads to test failures because of regexes of all things:
nix/src/libstore/local-overlay-store.cc
Line 52 in e44e1cc
--build-dir "/nix/var/nix/builds/build-1". Not sure what your issue was when testing it out.Context
Add 👍 to pull requests you find important.
The Nix maintainer team uses a GitHub project board to schedule and track reviews.