Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nix
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 412684f9dca4
Choose a base ref
...
head repository: NixOS/nix
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 653c4e439bbd
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jun 3, 2019

  1. Copy the full SHA
    653c4e4 View commit details
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/libexpr/primops/flakeref.cc
3 changes: 2 additions & 1 deletion src/libexpr/primops/flakeref.cc
Original file line number Diff line number Diff line change
@@ -60,7 +60,8 @@ FlakeRef::FlakeRef(const std::string & uri_, bool allowRelative)

static std::regex subDirRegex2(subDirRegex, std::regex::ECMAScript);

auto [uri, params] = splitUriAndParams(uri_);
auto [uri2, params] = splitUriAndParams(uri_);
std::string uri(uri2);

auto handleSubdir = [&](const std::string & name, const std::string & value) {
if (name == "dir") {